@nanoporetech-digital/components-vue 7.9.2 → 8.0.0-alpha.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 +325 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +313 -144
- package/dist/index.js.map +1 -1
- package/dist/proxies.d.ts +14 -2
- package/dist/vetur/attributes.json +480 -364
- package/dist/vetur/tags.json +178 -94
- package/dist/web-types.json +1780 -1249
- package/package.json +3 -2
|
@@ -1,39 +1,25 @@
|
|
|
1
1
|
{
|
|
2
|
-
"nano-accordion/color": {
|
|
3
|
-
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
4
|
-
"description": "Color to use from the color palette.",
|
|
5
|
-
"options": [
|
|
6
|
-
"danger",
|
|
7
|
-
"dark",
|
|
8
|
-
"light",
|
|
9
|
-
"medium",
|
|
10
|
-
"primary",
|
|
11
|
-
"secondary",
|
|
12
|
-
"success",
|
|
13
|
-
"tertiary",
|
|
14
|
-
"warning"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
2
|
"nano-alert/closable": {
|
|
18
3
|
"type": "boolean",
|
|
19
4
|
"description": "Set to true to make the alert closable.",
|
|
20
5
|
"options": []
|
|
21
6
|
},
|
|
22
7
|
"nano-alert/color": {
|
|
23
|
-
"type": "\"danger\" | \"
|
|
8
|
+
"type": "\"danger\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
24
9
|
"description": "The color to use from the application's color palette.",
|
|
25
10
|
"options": [
|
|
26
11
|
"danger",
|
|
27
|
-
"
|
|
28
|
-
"light",
|
|
29
|
-
"medium",
|
|
12
|
+
"neutral",
|
|
30
13
|
"primary",
|
|
31
|
-
"secondary",
|
|
32
14
|
"success",
|
|
33
|
-
"tertiary",
|
|
34
15
|
"warning"
|
|
35
16
|
]
|
|
36
17
|
},
|
|
18
|
+
"nano-alert/countdown": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
|
|
21
|
+
"options": []
|
|
22
|
+
},
|
|
37
23
|
"nano-alert/duration": {
|
|
38
24
|
"type": "number",
|
|
39
25
|
"description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the\nalert before it closes (e.g. moves the mouse over it), the timer will restart.",
|
|
@@ -49,6 +35,17 @@
|
|
|
49
35
|
"description": "Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.",
|
|
50
36
|
"options": []
|
|
51
37
|
},
|
|
38
|
+
"nano-alert/theme": {
|
|
39
|
+
"type": "\"danger\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
40
|
+
"description": "The color to use from the application's color palette.",
|
|
41
|
+
"options": [
|
|
42
|
+
"danger",
|
|
43
|
+
"neutral",
|
|
44
|
+
"primary",
|
|
45
|
+
"success",
|
|
46
|
+
"warning"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
52
49
|
"nano-algolia/api-key": {
|
|
53
50
|
"type": "string",
|
|
54
51
|
"description": "An Algolia API Key. Used in conjunction with 'searchIndex' & 'appId'.",
|
|
@@ -395,26 +392,79 @@
|
|
|
395
392
|
"description": "Sets the animation's playback rate. The default is `1`, which plays the animation at a normal speed. Setting this\nto `2`, for example, will double the animation's speed. A negative value can be used to reverse the animation. This\nvalue can be changed without causing the animation to restart.",
|
|
396
393
|
"options": []
|
|
397
394
|
},
|
|
398
|
-
"nano-
|
|
395
|
+
"nano-avatar/initials": {
|
|
396
|
+
"type": "string",
|
|
397
|
+
"description": "Initials to use as when no image is available (1–2 characters max recommended).",
|
|
398
|
+
"options": []
|
|
399
|
+
},
|
|
400
|
+
"nano-badge/pulse": {
|
|
399
401
|
"type": "boolean",
|
|
400
|
-
"description": "
|
|
402
|
+
"description": "Use pulse to draw attention to the badge with an animation",
|
|
401
403
|
"options": []
|
|
402
404
|
},
|
|
403
|
-
"nano-
|
|
404
|
-
"type": "\"
|
|
405
|
-
"description": "
|
|
405
|
+
"nano-badge/strength": {
|
|
406
|
+
"type": "\"1\" | \"2\" | \"3\" | \"4\"",
|
|
407
|
+
"description": "The strength / vibrancy of the theme. Defaults to `3`",
|
|
408
|
+
"options": [
|
|
409
|
+
"1",
|
|
410
|
+
"2",
|
|
411
|
+
"3",
|
|
412
|
+
"4"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"nano-badge/theme": {
|
|
416
|
+
"type": "\"danger\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
417
|
+
"description": "The semantic theme of the button. Defaults to primary / brand blue",
|
|
406
418
|
"options": [
|
|
407
419
|
"danger",
|
|
408
|
-
"
|
|
409
|
-
"light",
|
|
410
|
-
"medium",
|
|
420
|
+
"neutral",
|
|
411
421
|
"primary",
|
|
412
|
-
"secondary",
|
|
413
422
|
"success",
|
|
414
|
-
"tertiary",
|
|
415
423
|
"warning"
|
|
416
424
|
]
|
|
417
425
|
},
|
|
426
|
+
"nano-breadcrumb/breadcrumbs": {
|
|
427
|
+
"type": "Breadcrumb[]",
|
|
428
|
+
"description": "Array of breadcrumb items to render",
|
|
429
|
+
"options": []
|
|
430
|
+
},
|
|
431
|
+
"nano-card/layout": {
|
|
432
|
+
"type": "\"landscape\" | \"portrait\"",
|
|
433
|
+
"description": "The layout of the card. `landscape` only applies when the card is large enough. Defaults to portrait.",
|
|
434
|
+
"options": [
|
|
435
|
+
"landscape",
|
|
436
|
+
"portrait"
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
"nano-card/size": {
|
|
440
|
+
"type": "\"large\" | \"small\"",
|
|
441
|
+
"description": "Size of card's heading. Defaults to `large`. Has no baring on `variant=\"promo\"` cards",
|
|
442
|
+
"options": [
|
|
443
|
+
"large",
|
|
444
|
+
"small"
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
"nano-card/variant": {
|
|
448
|
+
"type": "\"product\" | \"promo\" | \"promo-aero\" | \"promo-grey\" | \"promo-plain\"",
|
|
449
|
+
"description": "The variant of card. Changes the styling of the card and of nested elements",
|
|
450
|
+
"options": [
|
|
451
|
+
"product",
|
|
452
|
+
"promo",
|
|
453
|
+
"promo-aero",
|
|
454
|
+
"promo-grey",
|
|
455
|
+
"promo-plain"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
"nano-card-carousel/carousel-title": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"description": "The title of the carousel. Alternatively use the `slot=\"title\"` for more control over markup",
|
|
461
|
+
"options": []
|
|
462
|
+
},
|
|
463
|
+
"nano-checkbox/checked": {
|
|
464
|
+
"type": "boolean",
|
|
465
|
+
"description": "checked property that can be used to get/set the value. accepts only boolean values",
|
|
466
|
+
"options": []
|
|
467
|
+
},
|
|
418
468
|
"nano-checkbox/disabled": {
|
|
419
469
|
"type": "boolean",
|
|
420
470
|
"description": "If `true`, the user cannot interact with the checkbox.",
|
|
@@ -425,6 +475,11 @@
|
|
|
425
475
|
"description": "The form element to associate the input with (its form owner). Must be the id of a form.",
|
|
426
476
|
"options": []
|
|
427
477
|
},
|
|
478
|
+
"nano-checkbox/hide-label": {
|
|
479
|
+
"type": "boolean",
|
|
480
|
+
"description": "Visually hide the label - but make it accessible.",
|
|
481
|
+
"options": []
|
|
482
|
+
},
|
|
428
483
|
"nano-checkbox/indeterminate": {
|
|
429
484
|
"type": "boolean",
|
|
430
485
|
"description": "If `true`, the checkbox will visually appear as indeterminate (only relevant for type=\"checkbox\")",
|
|
@@ -451,13 +506,12 @@
|
|
|
451
506
|
"options": []
|
|
452
507
|
},
|
|
453
508
|
"nano-checkbox/type": {
|
|
454
|
-
"type": "\"checkbox\" | \"radio\" | \"segment\" | \"
|
|
509
|
+
"type": "\"checkbox\" | \"radio\" | \"segment\" | \"switch\" | \"tag\"",
|
|
455
510
|
"description": "Controls the underlying field type and style.",
|
|
456
511
|
"options": [
|
|
457
512
|
"checkbox",
|
|
458
513
|
"radio",
|
|
459
514
|
"segment",
|
|
460
|
-
"segment-pill",
|
|
461
515
|
"switch",
|
|
462
516
|
"tag"
|
|
463
517
|
]
|
|
@@ -489,7 +543,7 @@
|
|
|
489
543
|
},
|
|
490
544
|
"nano-checkbox-group/legend": {
|
|
491
545
|
"type": "string",
|
|
492
|
-
"description": "A
|
|
546
|
+
"description": "A collective label for children controls",
|
|
493
547
|
"options": []
|
|
494
548
|
},
|
|
495
549
|
"nano-checkbox-group/max": {
|
|
@@ -526,6 +580,170 @@
|
|
|
526
580
|
"description": "The current, collective checkbox value",
|
|
527
581
|
"options": []
|
|
528
582
|
},
|
|
583
|
+
"nano-collapsible-comparison/open": {
|
|
584
|
+
"type": "boolean",
|
|
585
|
+
"description": "Controls whether the comparison is open or closed.",
|
|
586
|
+
"options": []
|
|
587
|
+
},
|
|
588
|
+
"nano-cta/group": {
|
|
589
|
+
"type": "\"balanced\" | \"stacked\"",
|
|
590
|
+
"description": "Predefined styles when displaying a number of CTAs together",
|
|
591
|
+
"options": [
|
|
592
|
+
"balanced",
|
|
593
|
+
"stacked"
|
|
594
|
+
]
|
|
595
|
+
},
|
|
596
|
+
"nano-cta/icon": {
|
|
597
|
+
"type": "\"back\" | \"down\" | \"download\" | \"false\" | \"forward\" | \"open\" | \"up\"",
|
|
598
|
+
"description": "A predefined icon to show. Defaults to no icon.\n*note* Will be overruled if a `<nano-icon />` or `<svg />` is detected",
|
|
599
|
+
"options": [
|
|
600
|
+
"back",
|
|
601
|
+
"down",
|
|
602
|
+
"download",
|
|
603
|
+
"false",
|
|
604
|
+
"forward",
|
|
605
|
+
"open",
|
|
606
|
+
"up"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
"nano-cta/loading": {
|
|
610
|
+
"type": "\"false\" | \"true\"",
|
|
611
|
+
"description": "Show a loading spinner",
|
|
612
|
+
"options": [
|
|
613
|
+
"false",
|
|
614
|
+
"true"
|
|
615
|
+
]
|
|
616
|
+
},
|
|
617
|
+
"nano-cta/secondary": {
|
|
618
|
+
"type": "boolean",
|
|
619
|
+
"description": "Turn on the secondary style. Every theme also has a secondary style",
|
|
620
|
+
"options": []
|
|
621
|
+
},
|
|
622
|
+
"nano-cta/size": {
|
|
623
|
+
"type": "\"large\" | \"medium\" | \"small\"",
|
|
624
|
+
"description": "The size of the button. Defaults to large",
|
|
625
|
+
"options": [
|
|
626
|
+
"large",
|
|
627
|
+
"medium",
|
|
628
|
+
"small"
|
|
629
|
+
]
|
|
630
|
+
},
|
|
631
|
+
"nano-cta/theme": {
|
|
632
|
+
"type": "\"danger\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
633
|
+
"description": "The semantic theme of the button. Defaults to primary / brand blue",
|
|
634
|
+
"options": [
|
|
635
|
+
"danger",
|
|
636
|
+
"neutral",
|
|
637
|
+
"primary",
|
|
638
|
+
"success",
|
|
639
|
+
"warning"
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
"nano-data-table/applied-filters": {
|
|
643
|
+
"type": "Filter[]",
|
|
644
|
+
"description": "",
|
|
645
|
+
"options": []
|
|
646
|
+
},
|
|
647
|
+
"nano-data-table/blocks-length": {
|
|
648
|
+
"type": "number",
|
|
649
|
+
"description": "The number of total blocks currently rendered in the table.",
|
|
650
|
+
"options": []
|
|
651
|
+
},
|
|
652
|
+
"nano-data-table/caption": {
|
|
653
|
+
"type": "string",
|
|
654
|
+
"description": "A descriptive title of the table.\nYou must use this or the `slot=\"caption\"` for accessibility",
|
|
655
|
+
"options": []
|
|
656
|
+
},
|
|
657
|
+
"nano-data-table/columns": {
|
|
658
|
+
"type": "ColumnConfig<any>[]",
|
|
659
|
+
"description": "The column config used to present the rows of data",
|
|
660
|
+
"options": []
|
|
661
|
+
},
|
|
662
|
+
"nano-data-table/custom-filter-fn": {
|
|
663
|
+
"type": "(filters: Filter[]) => Promise<true | Falsy>",
|
|
664
|
+
"description": "A custom filtering function. Should return a promise.\nIf the promise resolves as `true` the column UI will be updated.\nIf the promise resolves as falsy, the sort will be performed by the component.\nA good use-case would be performing the filter on a server / via fetch.\nThen on success, updating the table's data via the `rows` property",
|
|
665
|
+
"options": []
|
|
666
|
+
},
|
|
667
|
+
"nano-data-table/custom-renderer": {
|
|
668
|
+
"type": "(node: any, cell: HTMLElement | DocumentFragment) => void | Promise<string>",
|
|
669
|
+
"description": "Function called whenever `col.cellTemplate` renders an unknown object.\nThe function should render a valid HTMLElement to the cell arg.\nExample usage - render JSX from a 3rd party lib and append the result to the cell element.",
|
|
670
|
+
"options": []
|
|
671
|
+
},
|
|
672
|
+
"nano-data-table/custom-sort-fn": {
|
|
673
|
+
"type": "(property: keyof RowGeneric, order: Order) => Promise<true | Falsy>",
|
|
674
|
+
"description": "A custom sorting function. Should return a promise.\nIf the promise resolves as `true` the column UI will be updated.\nIf the promise resolves as falsey, the sort will be performed by the component.\nA good use-case would be performing the sort on a server / via fetch.\nThen on success, updating the table's data via the `rows` property",
|
|
675
|
+
"options": []
|
|
676
|
+
},
|
|
677
|
+
"nano-data-table/default-sort": {
|
|
678
|
+
"type": "boolean",
|
|
679
|
+
"description": "The default sortable option for all columns.\n`true` will enable column sorting unless you set `sortable: false` on a column\n`false` will disable column sorting unless you set `sortable: true` on a column",
|
|
680
|
+
"options": []
|
|
681
|
+
},
|
|
682
|
+
"nano-data-table/foot-render": {
|
|
683
|
+
"type": "HeadFootRenderer<RowData<RowGeneric>>",
|
|
684
|
+
"description": "Used for custom tfoot row rendering",
|
|
685
|
+
"options": []
|
|
686
|
+
},
|
|
687
|
+
"nano-data-table/head-render": {
|
|
688
|
+
"type": "HeadFootRenderer<RowData<RowGeneric>>",
|
|
689
|
+
"description": "Used for custom thead row rendering",
|
|
690
|
+
"options": []
|
|
691
|
+
},
|
|
692
|
+
"nano-data-table/loading": {
|
|
693
|
+
"type": "boolean",
|
|
694
|
+
"description": "Will show a loading state when set to true.\nBy default, will be shown automatically if `rows` is a promise waiting to resolve / or falsy\n*or* when performing custom filtering or sorting.\n*Note* when set manually, will overwrite any internal loading state.\nSet to 'undefined' to revert to default behaviour.",
|
|
695
|
+
"options": []
|
|
696
|
+
},
|
|
697
|
+
"nano-data-table/per-block": {
|
|
698
|
+
"type": "number",
|
|
699
|
+
"description": "To improve performance, data is split into blocks\nwhich are shown / hidden and rendered as they become visible.\nUse this to control the number of hits within a block -\nA block should fill a scrolling viewport.\nThe less perBlock the better for performance",
|
|
700
|
+
"options": []
|
|
701
|
+
},
|
|
702
|
+
"nano-data-table/placeholder-size": {
|
|
703
|
+
"type": "number",
|
|
704
|
+
"description": "When loading rows asynchronously render this number of placeholder rows",
|
|
705
|
+
"options": []
|
|
706
|
+
},
|
|
707
|
+
"nano-data-table/row-render": {
|
|
708
|
+
"type": "RowRenderer<RowData<RowGeneric>>",
|
|
709
|
+
"description": "Used for custom row rendering",
|
|
710
|
+
"options": []
|
|
711
|
+
},
|
|
712
|
+
"nano-data-table/rows": {
|
|
713
|
+
"type": "Promise<RowGeneric[]> | RowGeneric[]",
|
|
714
|
+
"description": "The data to place in the table",
|
|
715
|
+
"options": []
|
|
716
|
+
},
|
|
717
|
+
"nano-data-table/scrollable": {
|
|
718
|
+
"type": "boolean",
|
|
719
|
+
"description": "If true, will render any nested table in a scrollable container (using `overflow: auto`)",
|
|
720
|
+
"options": []
|
|
721
|
+
},
|
|
722
|
+
"nano-data-table/search-term": {
|
|
723
|
+
"type": "string",
|
|
724
|
+
"description": "Term to search for in the data",
|
|
725
|
+
"options": []
|
|
726
|
+
},
|
|
727
|
+
"nano-data-table/show-caption": {
|
|
728
|
+
"type": "boolean",
|
|
729
|
+
"description": "Show the caption on-screen",
|
|
730
|
+
"options": []
|
|
731
|
+
},
|
|
732
|
+
"nano-data-table/show-footer": {
|
|
733
|
+
"type": "boolean",
|
|
734
|
+
"description": "Whether to show a `<tfoot>` component",
|
|
735
|
+
"options": []
|
|
736
|
+
},
|
|
737
|
+
"nano-data-table/show-paginate-spinner": {
|
|
738
|
+
"type": "boolean",
|
|
739
|
+
"description": "If true, will show a spinner at the bottom of the table when loading",
|
|
740
|
+
"options": []
|
|
741
|
+
},
|
|
742
|
+
"nano-data-table/virtual-total-items": {
|
|
743
|
+
"type": "number",
|
|
744
|
+
"description": "Use this to render the table with roughly the correct dimensions.\na use-case might be; fetch a small initial dataset to minimise load-time,\nrender the table with the correct dimensions, the table becomes interactive,\nload the rest of the data",
|
|
745
|
+
"options": []
|
|
746
|
+
},
|
|
529
747
|
"nano-datalist/active-options": {
|
|
530
748
|
"type": "HTMLNanoOptionElement[]",
|
|
531
749
|
"description": "return all the active options currently within the datalist. Can be useful for validation",
|
|
@@ -567,12 +785,12 @@
|
|
|
567
785
|
"options": []
|
|
568
786
|
},
|
|
569
787
|
"nano-datalist/type": {
|
|
570
|
-
"type": "\"input\" | \"
|
|
788
|
+
"type": "\"input\" | \"select\" | \"selectMulti\"",
|
|
571
789
|
"description": "Tweaks the datalist behaviour and linked control semantics and behaviour.\ne.g. 'select' will make the linked input control `readonly`.",
|
|
572
790
|
"options": [
|
|
573
791
|
"input",
|
|
574
|
-
"
|
|
575
|
-
"
|
|
792
|
+
"select",
|
|
793
|
+
"selectMulti"
|
|
576
794
|
]
|
|
577
795
|
},
|
|
578
796
|
"nano-date-input/autofocus": {
|
|
@@ -580,7 +798,7 @@
|
|
|
580
798
|
"description": "This Boolean attribute lets you specify that a form control should have input focus when the page loads.",
|
|
581
799
|
"options": []
|
|
582
800
|
},
|
|
583
|
-
"nano-date-input/
|
|
801
|
+
"nano-date-input/clearable": {
|
|
584
802
|
"type": "boolean",
|
|
585
803
|
"description": "If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input.",
|
|
586
804
|
"options": []
|
|
@@ -591,17 +809,13 @@
|
|
|
591
809
|
"options": []
|
|
592
810
|
},
|
|
593
811
|
"nano-date-input/color": {
|
|
594
|
-
"type": "\"danger\" | \"
|
|
812
|
+
"type": "\"danger\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
595
813
|
"description": "The color to use from the application's color palette.",
|
|
596
814
|
"options": [
|
|
597
815
|
"danger",
|
|
598
|
-
"
|
|
599
|
-
"light",
|
|
600
|
-
"medium",
|
|
816
|
+
"neutral",
|
|
601
817
|
"primary",
|
|
602
|
-
"secondary",
|
|
603
818
|
"success",
|
|
604
|
-
"tertiary",
|
|
605
819
|
"warning"
|
|
606
820
|
]
|
|
607
821
|
},
|
|
@@ -662,7 +876,7 @@
|
|
|
662
876
|
},
|
|
663
877
|
"nano-date-input/initial-picker-date": {
|
|
664
878
|
"type": "string",
|
|
665
|
-
"description": "Initial picker date.
|
|
879
|
+
"description": "Initial picker date. Defaults to `value` if set and today's date if not.\nMust be in IS0-8601 format: YYYY-MM-DD.",
|
|
666
880
|
"options": []
|
|
667
881
|
},
|
|
668
882
|
"nano-date-input/invalid": {
|
|
@@ -754,24 +968,9 @@
|
|
|
754
968
|
"description": "Current value. Must be in IS0-8601 format: YYYY-MM-DD.",
|
|
755
969
|
"options": []
|
|
756
970
|
},
|
|
757
|
-
"nano-date-picker/color": {
|
|
758
|
-
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
759
|
-
"description": "The color to use from the application's color palette.",
|
|
760
|
-
"options": [
|
|
761
|
-
"danger",
|
|
762
|
-
"dark",
|
|
763
|
-
"light",
|
|
764
|
-
"medium",
|
|
765
|
-
"primary",
|
|
766
|
-
"secondary",
|
|
767
|
-
"success",
|
|
768
|
-
"tertiary",
|
|
769
|
-
"warning"
|
|
770
|
-
]
|
|
771
|
-
},
|
|
772
971
|
"nano-date-picker/first-day-of-week": {
|
|
773
972
|
"type": "DaysOfWeek.Friday | DaysOfWeek.Monday | DaysOfWeek.Saturday | DaysOfWeek.Sunday | DaysOfWeek.Thursday | DaysOfWeek.Tuesday | DaysOfWeek.Wednesday",
|
|
774
|
-
"description": "Which day is considered first day of the week
|
|
973
|
+
"description": "Which day is considered first day of the week. `0` for Sunday, `1` for Monday, etc.\nDefault is Monday.",
|
|
775
974
|
"options": []
|
|
776
975
|
},
|
|
777
976
|
"nano-date-picker/is-date-disabled": {
|
|
@@ -781,7 +980,7 @@
|
|
|
781
980
|
},
|
|
782
981
|
"nano-date-picker/is-modal": {
|
|
783
982
|
"type": "boolean",
|
|
784
|
-
"description": "Controls whether the picker is a modal
|
|
983
|
+
"description": "Controls whether the picker is within a modal control and will therefore keep focus within the control",
|
|
785
984
|
"options": []
|
|
786
985
|
},
|
|
787
986
|
"nano-date-picker/localization": {
|
|
@@ -809,30 +1008,24 @@
|
|
|
809
1008
|
"description": "Disables the details so it can't be toggled.",
|
|
810
1009
|
"options": []
|
|
811
1010
|
},
|
|
812
|
-
"nano-details/icon-rotation": {
|
|
813
|
-
"type": "number",
|
|
814
|
-
"description": "Icon slot rotation amount (degrees) on open",
|
|
815
|
-
"options": []
|
|
816
|
-
},
|
|
817
1011
|
"nano-details/label": {
|
|
818
1012
|
"type": "string",
|
|
819
1013
|
"description": "Summary / handle text. Use the `label` slot for HTML markup",
|
|
820
1014
|
"options": []
|
|
821
1015
|
},
|
|
822
|
-
"nano-details/no-handle": {
|
|
823
|
-
"type": "boolean",
|
|
824
|
-
"description": "Hide the handle. (You will need to control the hiding / showing of content with script)",
|
|
825
|
-
"options": []
|
|
826
|
-
},
|
|
827
1016
|
"nano-details/open": {
|
|
828
1017
|
"type": "boolean",
|
|
829
1018
|
"description": "Should item be open on load",
|
|
830
1019
|
"options": []
|
|
831
1020
|
},
|
|
832
|
-
"nano-details/
|
|
833
|
-
"type": "
|
|
834
|
-
"description": "
|
|
835
|
-
"options": [
|
|
1021
|
+
"nano-details/size": {
|
|
1022
|
+
"type": "\"large\" | \"medium\" | \"small\"",
|
|
1023
|
+
"description": "The size of the details. Primarily controls the trigger element and overall padding.",
|
|
1024
|
+
"options": [
|
|
1025
|
+
"large",
|
|
1026
|
+
"medium",
|
|
1027
|
+
"small"
|
|
1028
|
+
]
|
|
836
1029
|
},
|
|
837
1030
|
"nano-dialog/hoist": {
|
|
838
1031
|
"type": "boolean",
|
|
@@ -844,11 +1037,6 @@
|
|
|
844
1037
|
"description": "The dialog's label as displayed in the header. You should always include a relevant\nlabel even when using `no-header`, as it is required for proper accessibility.",
|
|
845
1038
|
"options": []
|
|
846
1039
|
},
|
|
847
|
-
"nano-dialog/no-footer": {
|
|
848
|
-
"type": "boolean",
|
|
849
|
-
"description": "Set to true to disable the footer. This will also remove the footer close button,\nso please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
850
|
-
"options": []
|
|
851
|
-
},
|
|
852
1040
|
"nano-dialog/no-header": {
|
|
853
1041
|
"type": "boolean",
|
|
854
1042
|
"description": "Set to true to disable the header. This will also remove the default close button,\nso please ensure you provide an easy, accessible way for users to dismiss the dialog.",
|
|
@@ -926,6 +1114,11 @@
|
|
|
926
1114
|
"top"
|
|
927
1115
|
]
|
|
928
1116
|
},
|
|
1117
|
+
"nano-drawer/resizable": {
|
|
1118
|
+
"type": "boolean",
|
|
1119
|
+
"description": "Makes the drawer resizable",
|
|
1120
|
+
"options": []
|
|
1121
|
+
},
|
|
929
1122
|
"nano-drawer/store-id": {
|
|
930
1123
|
"type": "string",
|
|
931
1124
|
"description": "Store search queries (against this ID) to the component store. Use in conjunction with storeMethod",
|
|
@@ -1161,14 +1354,6 @@
|
|
|
1161
1354
|
"description": "A file input's value attribute contains a DOMString that represents the path to the selected file(s).\nIf the user selected multiple files, the value represents the first file in the list of files they selected.\nYou can reset the file-upload control by setting the value to an empty string e.g. `var input.value = ''`",
|
|
1162
1355
|
"options": []
|
|
1163
1356
|
},
|
|
1164
|
-
"nano-global-nav/active-my-account-sections": {
|
|
1165
|
-
"type": "(\"about\" | \"loggedin\" | \"sites\" | \"icons\")[]",
|
|
1166
|
-
"description": "Active MyAccount link sections. By default all will show.",
|
|
1167
|
-
"options": [
|
|
1168
|
-
"loggedin",
|
|
1169
|
-
"sites"
|
|
1170
|
-
]
|
|
1171
|
-
},
|
|
1172
1357
|
"nano-global-nav/cart-count": {
|
|
1173
1358
|
"type": "number",
|
|
1174
1359
|
"description": "MyAccount store cart count.",
|
|
@@ -1179,19 +1364,14 @@
|
|
|
1179
1364
|
"description": "Url to the Nanopore store cart. Will default to the url supplied by MyAccount",
|
|
1180
1365
|
"options": []
|
|
1181
1366
|
},
|
|
1182
|
-
"nano-global-nav/
|
|
1183
|
-
"type": "
|
|
1184
|
-
"description": "
|
|
1185
|
-
"options": [
|
|
1186
|
-
"dev",
|
|
1187
|
-
"local",
|
|
1188
|
-
"prod",
|
|
1189
|
-
"test"
|
|
1190
|
-
]
|
|
1367
|
+
"nano-global-nav/contact-url": {
|
|
1368
|
+
"type": "string",
|
|
1369
|
+
"description": "Url to the Nanopore contact page",
|
|
1370
|
+
"options": []
|
|
1191
1371
|
},
|
|
1192
|
-
"nano-global-nav/
|
|
1193
|
-
"type": "
|
|
1194
|
-
"description": "
|
|
1372
|
+
"nano-global-nav/login-url": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"description": "Url to the Nanopore login page. Will default to the url supplied by MyAccount",
|
|
1195
1375
|
"options": []
|
|
1196
1376
|
},
|
|
1197
1377
|
"nano-global-nav/logo-url": {
|
|
@@ -1199,6 +1379,11 @@
|
|
|
1199
1379
|
"description": "The link to put on the logo",
|
|
1200
1380
|
"options": []
|
|
1201
1381
|
},
|
|
1382
|
+
"nano-global-nav/logout-url": {
|
|
1383
|
+
"type": "string",
|
|
1384
|
+
"description": "Url to the Nanopore login page. Will default to the url supplied by MyAccount",
|
|
1385
|
+
"options": []
|
|
1386
|
+
},
|
|
1202
1387
|
"nano-global-nav/msg-count": {
|
|
1203
1388
|
"type": "number",
|
|
1204
1389
|
"description": "MyAccount un-read message count.",
|
|
@@ -1211,67 +1396,32 @@
|
|
|
1211
1396
|
},
|
|
1212
1397
|
"nano-global-nav/my-account-data": {
|
|
1213
1398
|
"type": "MyAccountData",
|
|
1214
|
-
"description": "
|
|
1399
|
+
"description": "MyAccount data automatically set via `myAccountUrl`.\nAlternatively you can directly provide a JSON object which is useful for SSR\n(ref https://myaccount.nanoporetech.com/nav_bar_data.json)",
|
|
1215
1400
|
"options": []
|
|
1216
1401
|
},
|
|
1217
|
-
"nano-global-nav/my-account-
|
|
1218
|
-
"type": "MyAccountUser",
|
|
1219
|
-
"description": "Logged in user details automatically populated from MyAccount",
|
|
1220
|
-
"options": []
|
|
1221
|
-
},
|
|
1222
|
-
"nano-global-nav/search-api-key": {
|
|
1402
|
+
"nano-global-nav/my-account-url": {
|
|
1223
1403
|
"type": "string",
|
|
1224
|
-
"description": "
|
|
1404
|
+
"description": "A base url to retrieve global nav / sso data. `nav_bar_data.json` will be appended to this url",
|
|
1225
1405
|
"options": []
|
|
1226
1406
|
},
|
|
1227
|
-
"nano-global-nav/
|
|
1228
|
-
"type": "
|
|
1229
|
-
"description": "
|
|
1230
|
-
"options": []
|
|
1231
|
-
},
|
|
1232
|
-
"nano-global-nav/search-indeces": {
|
|
1233
|
-
"type": "SearchIndex[]",
|
|
1234
|
-
"description": "An array of Algolia search indexes (and optional display names). Will be automatically populated from MyAccount",
|
|
1407
|
+
"nano-global-nav/my-account-user": {
|
|
1408
|
+
"type": "MyAccountUser",
|
|
1409
|
+
"description": "Logged in user details automatically populated from MyAccount",
|
|
1235
1410
|
"options": []
|
|
1236
1411
|
},
|
|
1237
1412
|
"nano-global-nav/search-index": {
|
|
1238
1413
|
"type": "string",
|
|
1239
|
-
"description": "Algolia search index to
|
|
1414
|
+
"description": "Algolia search index to search within",
|
|
1240
1415
|
"options": []
|
|
1241
1416
|
},
|
|
1242
1417
|
"nano-global-nav/search-value": {
|
|
1243
1418
|
"type": "string",
|
|
1244
|
-
"description": "A search
|
|
1245
|
-
"options": []
|
|
1246
|
-
},
|
|
1247
|
-
"nano-global-nav/show-logo": {
|
|
1248
|
-
"type": "boolean",
|
|
1249
|
-
"description": "Whether to show Nanopore logo",
|
|
1250
|
-
"options": []
|
|
1251
|
-
},
|
|
1252
|
-
"nano-global-nav/show-search": {
|
|
1253
|
-
"type": "boolean",
|
|
1254
|
-
"description": "Whether to show search functionality",
|
|
1255
|
-
"options": []
|
|
1256
|
-
},
|
|
1257
|
-
"nano-global-nav/sso-data-url": {
|
|
1258
|
-
"type": "string",
|
|
1259
|
-
"description": "A base url to retrieve global nav / sso data.\n`nav_bar_data.json` will be appended to this url.\nAn alternative to the pre-defined `env` urls",
|
|
1419
|
+
"description": "A search string used to load and show autocomplete results",
|
|
1260
1420
|
"options": []
|
|
1261
1421
|
},
|
|
1262
|
-
"nano-global-nav/
|
|
1422
|
+
"nano-global-nav/session-redirect": {
|
|
1263
1423
|
"type": "string",
|
|
1264
|
-
"description": "
|
|
1265
|
-
"options": []
|
|
1266
|
-
},
|
|
1267
|
-
"nano-global-nav-user-profile/my-account-user": {
|
|
1268
|
-
"type": "MyAccountUser",
|
|
1269
|
-
"description": "Logged in user details automatically populated from MyAccount",
|
|
1270
|
-
"options": []
|
|
1271
|
-
},
|
|
1272
|
-
"nano-global-nav-user-profile/user-profile-url": {
|
|
1273
|
-
"type": "string",
|
|
1274
|
-
"description": "Link to the user profile",
|
|
1424
|
+
"description": "A url to take the user after login / logout. Defaults to current URL. Is automatically URI encoded",
|
|
1275
1425
|
"options": []
|
|
1276
1426
|
},
|
|
1277
1427
|
"nano-grid/l-cols": {
|
|
@@ -1386,23 +1536,16 @@
|
|
|
1386
1536
|
"options": []
|
|
1387
1537
|
},
|
|
1388
1538
|
"nano-icon/color": {
|
|
1389
|
-
"type": "\"
|
|
1390
|
-
"description": "
|
|
1539
|
+
"type": "\"neutral\" | \"primary\"",
|
|
1540
|
+
"description": "Specifies the color of the icon. If not specified, the icon will inherit the color of the parent element.",
|
|
1391
1541
|
"options": [
|
|
1392
|
-
"
|
|
1393
|
-
"
|
|
1394
|
-
"light",
|
|
1395
|
-
"medium",
|
|
1396
|
-
"primary",
|
|
1397
|
-
"secondary",
|
|
1398
|
-
"success",
|
|
1399
|
-
"tertiary",
|
|
1400
|
-
"warning"
|
|
1542
|
+
"neutral",
|
|
1543
|
+
"primary"
|
|
1401
1544
|
]
|
|
1402
1545
|
},
|
|
1403
1546
|
"nano-icon/flip-rtl": {
|
|
1404
1547
|
"type": "boolean",
|
|
1405
|
-
"description": "Specifies whether the icon should horizontally flip when `dir` is `\"rtl\"
|
|
1548
|
+
"description": "Specifies whether the icon should horizontally flip when `dir` is `\"rtl\"`.\nBy default, when an 'arrow' or 'chevron' icon is used, it will flip automatically when detecting `dir=\"rtl\"` on the document or closest ancestor.",
|
|
1406
1549
|
"options": []
|
|
1407
1550
|
},
|
|
1408
1551
|
"nano-icon/icon": {
|
|
@@ -1426,11 +1569,14 @@
|
|
|
1426
1569
|
"options": []
|
|
1427
1570
|
},
|
|
1428
1571
|
"nano-icon/size": {
|
|
1429
|
-
"type": "\"large\" | \"small\"",
|
|
1430
|
-
"description": "The size of the icon.\
|
|
1572
|
+
"type": "\"auto\" | \"large\" | \"regular\" | \"small\" | \"xl\"",
|
|
1573
|
+
"description": "The size of the icon. `auto` automatically sizes according to the font-size of the parent element.\n*Note*: size will be different on 'pictogram' and 'device' vs 'font awesome' icons.",
|
|
1431
1574
|
"options": [
|
|
1575
|
+
"auto",
|
|
1432
1576
|
"large",
|
|
1433
|
-
"
|
|
1577
|
+
"regular",
|
|
1578
|
+
"small",
|
|
1579
|
+
"xl"
|
|
1434
1580
|
]
|
|
1435
1581
|
},
|
|
1436
1582
|
"nano-icon/src": {
|
|
@@ -1502,6 +1648,22 @@
|
|
|
1502
1648
|
"description": "Defines the value associated with the button’s name when it’s submitted with the form data.",
|
|
1503
1649
|
"options": []
|
|
1504
1650
|
},
|
|
1651
|
+
"nano-icon-item/layout": {
|
|
1652
|
+
"type": "\"landscape\" | \"portrait\"",
|
|
1653
|
+
"description": "The layout of the icon items. Defaults to portrait.",
|
|
1654
|
+
"options": [
|
|
1655
|
+
"landscape",
|
|
1656
|
+
"portrait"
|
|
1657
|
+
]
|
|
1658
|
+
},
|
|
1659
|
+
"nano-icon-item/size": {
|
|
1660
|
+
"type": "\"large\" | \"regular\"",
|
|
1661
|
+
"description": "The size of the icon. Defaults to regular",
|
|
1662
|
+
"options": [
|
|
1663
|
+
"large",
|
|
1664
|
+
"regular"
|
|
1665
|
+
]
|
|
1666
|
+
},
|
|
1505
1667
|
"nano-img/alt": {
|
|
1506
1668
|
"type": "string",
|
|
1507
1669
|
"description": "This attribute defines the alternative text describing the image.\nUsers will see this text displayed if the image URL is wrong, or if the image is not yet downloaded.",
|
|
@@ -1535,11 +1697,26 @@
|
|
|
1535
1697
|
"description": "Optional list string providing media sizes with corresponding image srcs.\ni.e. show img-x at 300px wide. Format `srcSet=\"200w src/imgSmall.jpg, 500h src/imgMed.png\"`",
|
|
1536
1698
|
"options": []
|
|
1537
1699
|
},
|
|
1700
|
+
"nano-in-page-nav/breakpoint": {
|
|
1701
|
+
"type": "number",
|
|
1702
|
+
"description": "The breakpoint (in px) at which the nav will switch from large to small screen styles. Defaults to 767",
|
|
1703
|
+
"options": []
|
|
1704
|
+
},
|
|
1705
|
+
"nano-in-page-nav/sticky-headers": {
|
|
1706
|
+
"type": "boolean",
|
|
1707
|
+
"description": "Whether the headers should be sticky (small screen only). Defaults to true",
|
|
1708
|
+
"options": []
|
|
1709
|
+
},
|
|
1538
1710
|
"nano-input/accept": {
|
|
1539
1711
|
"type": "string",
|
|
1540
1712
|
"description": "If the value of the type attribute is `\"file\"`, then this attribute will indicate the types of files that the server accepts, otherwise it will be ignored. The value must be a comma-separated list of unique content type specifiers.",
|
|
1541
1713
|
"options": []
|
|
1542
1714
|
},
|
|
1715
|
+
"nano-input/always-show-placeholder": {
|
|
1716
|
+
"type": "boolean",
|
|
1717
|
+
"description": "Sometimes it can be helpful to always show the placeholder, even when the input has a value.\nFor example a postcode field could have a placeholder `e.g. LD1 1AA` which is helpful to show.",
|
|
1718
|
+
"options": []
|
|
1719
|
+
},
|
|
1543
1720
|
"nano-input/autocapitalise": {
|
|
1544
1721
|
"type": "\"characters\" | \"none\" | \"sentences\" | \"words\"",
|
|
1545
1722
|
"description": "Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.",
|
|
@@ -1571,31 +1748,21 @@
|
|
|
1571
1748
|
"description": "This Boolean attribute lets you specify that a form control should have input focus when the page loads.",
|
|
1572
1749
|
"options": []
|
|
1573
1750
|
},
|
|
1574
|
-
"nano-input/clear-
|
|
1751
|
+
"nano-input/clear-on-edit": {
|
|
1752
|
+
"type": "boolean",
|
|
1753
|
+
"description": "If `true`, the value will be cleared after focus upon edit. Defaults to `true` when `type` is `\"password\"`, `false` for all other types.",
|
|
1754
|
+
"options": []
|
|
1755
|
+
},
|
|
1756
|
+
"nano-input/clearable": {
|
|
1575
1757
|
"type": "boolean",
|
|
1576
1758
|
"description": "If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input.",
|
|
1577
1759
|
"options": []
|
|
1578
1760
|
},
|
|
1579
|
-
"nano-input/
|
|
1761
|
+
"nano-input/close-after-picked": {
|
|
1580
1762
|
"type": "boolean",
|
|
1581
|
-
"description": "If `true`, the
|
|
1763
|
+
"description": "relevant to `type=\"date\"`. If `true`, the input will close after a date is picked.",
|
|
1582
1764
|
"options": []
|
|
1583
1765
|
},
|
|
1584
|
-
"nano-input/color": {
|
|
1585
|
-
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
1586
|
-
"description": "The color to use from the application's color palette.",
|
|
1587
|
-
"options": [
|
|
1588
|
-
"danger",
|
|
1589
|
-
"dark",
|
|
1590
|
-
"light",
|
|
1591
|
-
"medium",
|
|
1592
|
-
"primary",
|
|
1593
|
-
"secondary",
|
|
1594
|
-
"success",
|
|
1595
|
-
"tertiary",
|
|
1596
|
-
"warning"
|
|
1597
|
-
]
|
|
1598
|
-
},
|
|
1599
1766
|
"nano-input/debounce": {
|
|
1600
1767
|
"type": "number",
|
|
1601
1768
|
"description": "Set the amount of time, in milliseconds, to wait to trigger the `nanoChange` event after each keystroke.",
|
|
@@ -1621,6 +1788,11 @@
|
|
|
1621
1788
|
"description": "Visually hide the label - but make it accessible.",
|
|
1622
1789
|
"options": []
|
|
1623
1790
|
},
|
|
1791
|
+
"nano-input/initial-picker-date": {
|
|
1792
|
+
"type": "string",
|
|
1793
|
+
"description": "relevant to `type=\"date\"`. Initial picker date. Defaults to `value` if set and today's date if not.\nMust be in IS0-8601 format: YYYY-MM-DD.",
|
|
1794
|
+
"options": []
|
|
1795
|
+
},
|
|
1624
1796
|
"nano-input/inputmode": {
|
|
1625
1797
|
"type": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\"",
|
|
1626
1798
|
"description": "A hint to the browser for which keyboard to display.\nPossible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n`\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.",
|
|
@@ -1636,10 +1808,15 @@
|
|
|
1636
1808
|
]
|
|
1637
1809
|
},
|
|
1638
1810
|
"nano-input/invalid": {
|
|
1639
|
-
"type": "
|
|
1811
|
+
"type": "any",
|
|
1640
1812
|
"description": "This will be true when the control is in an invalid state.\nValidity is determined by the `required` prop. Or if custom validity message is set.",
|
|
1641
1813
|
"options": []
|
|
1642
1814
|
},
|
|
1815
|
+
"nano-input/is-date-disabled": {
|
|
1816
|
+
"type": "(date: Date) => boolean",
|
|
1817
|
+
"description": "relevant to `type=\"date\"`. Controls which days are disabled and therefore disallowed.\nFor example, this can be used to disallow selection of weekends.",
|
|
1818
|
+
"options": []
|
|
1819
|
+
},
|
|
1643
1820
|
"nano-input/label": {
|
|
1644
1821
|
"type": "string",
|
|
1645
1822
|
"description": "String to place within a label element. Alternatively you may use a label slot.",
|
|
@@ -1680,6 +1857,11 @@
|
|
|
1680
1857
|
"description": "A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.",
|
|
1681
1858
|
"options": []
|
|
1682
1859
|
},
|
|
1860
|
+
"nano-input/picker-options": {
|
|
1861
|
+
"type": "{ host?: HTMLNanoDatePickerElement; activeFocus?: boolean; focusedDay?: Date; selectedDate?: string; min?: string; max?: string; firstDayOfWeek?: DaysOfWeek; localization?: DuetLocalizedText; isDateDisabled?: DateDisabledPredicate; isModal?: boolean; firstFocusEle?: HTMLElement; nanoDatePicked?: EventEmitter<PickerChangeEvent>; setFocus?: (day?: boolean) => Promise<void>; handleSelectedDateChange?: () => void; componentWillLoad?: () => void; render?: () => any; }",
|
|
1862
|
+
"description": "relevant to `type=\"date\"`. Other options to pass to the date picker.\nSee the `nano-date-picker` docs for more information.",
|
|
1863
|
+
"options": []
|
|
1864
|
+
},
|
|
1683
1865
|
"nano-input/placeholder": {
|
|
1684
1866
|
"type": "string",
|
|
1685
1867
|
"description": "Instructional text that shows before the input has a value.",
|
|
@@ -1692,12 +1874,12 @@
|
|
|
1692
1874
|
},
|
|
1693
1875
|
"nano-input/required": {
|
|
1694
1876
|
"type": "boolean",
|
|
1695
|
-
"description": "If `true`, the user must fill in a value before submitting a form.",
|
|
1877
|
+
"description": "If `true`, the user must fill in a value before submitting a form.\nBy default, setting this will also add an asterisk to the label.\nYou can disable this by using the `label` slot instead.",
|
|
1696
1878
|
"options": []
|
|
1697
1879
|
},
|
|
1698
1880
|
"nano-input/resize": {
|
|
1699
1881
|
"type": "\"auto\" | \"false\" | \"true\"",
|
|
1700
|
-
"description": "relevant to type=\"textarea\"
|
|
1882
|
+
"description": "relevant to `type=\"textarea\"`. Vertical resizing - enable / disable or make automatic.",
|
|
1701
1883
|
"options": [
|
|
1702
1884
|
"auto",
|
|
1703
1885
|
"false",
|
|
@@ -1706,12 +1888,12 @@
|
|
|
1706
1888
|
},
|
|
1707
1889
|
"nano-input/rows": {
|
|
1708
1890
|
"type": "number",
|
|
1709
|
-
"description": "relevant to type=\"textarea\"
|
|
1891
|
+
"description": "relevant to `type=\"textarea\"`. Default number of rows to show",
|
|
1710
1892
|
"options": []
|
|
1711
1893
|
},
|
|
1712
1894
|
"nano-input/show-char-count": {
|
|
1713
1895
|
"type": "boolean",
|
|
1714
|
-
"description": "
|
|
1896
|
+
"description": "Whether to show a character count / remaining count when using the `maxlength` attribute.",
|
|
1715
1897
|
"options": []
|
|
1716
1898
|
},
|
|
1717
1899
|
"nano-input/show-inline-error": {
|
|
@@ -1719,6 +1901,11 @@
|
|
|
1719
1901
|
"description": "Whether to show validation errors underneath input",
|
|
1720
1902
|
"options": []
|
|
1721
1903
|
},
|
|
1904
|
+
"nano-input/show-picker": {
|
|
1905
|
+
"type": "boolean",
|
|
1906
|
+
"description": "relevant to `type=\"date\"`. Whether to show a date picker.\nDate pickers are not very useful if the potential input is too far in the distance or past e.g. Birthdays",
|
|
1907
|
+
"options": []
|
|
1908
|
+
},
|
|
1722
1909
|
"nano-input/size": {
|
|
1723
1910
|
"type": "number",
|
|
1724
1911
|
"description": "The initial size of the control. This value is in pixels unless the value of the type attribute is `\"text\"` or `\"password\"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.",
|
|
@@ -1769,13 +1956,20 @@
|
|
|
1769
1956
|
"description": "The value of the input.",
|
|
1770
1957
|
"options": []
|
|
1771
1958
|
},
|
|
1959
|
+
"nano-input/value-as-date": {
|
|
1960
|
+
"type": "Date",
|
|
1961
|
+
"description": "Represents the current value of the input as a Date, or null if conversion is not possible",
|
|
1962
|
+
"options": []
|
|
1963
|
+
},
|
|
1964
|
+
"nano-input/value-as-number": {
|
|
1965
|
+
"type": "number",
|
|
1966
|
+
"description": "Represents the value of the input or NaN if numeric conversion is impossible",
|
|
1967
|
+
"options": []
|
|
1968
|
+
},
|
|
1772
1969
|
"nano-intersection-observe/root": {
|
|
1773
|
-
"type": "
|
|
1970
|
+
"type": "Element | string",
|
|
1774
1971
|
"description": "The element that is used as the viewport for checking visibility of the target. Must be an ancestor of the target.\nDefaults to an automatic check for ancestors that `overflow: auto` or otherwise the `Document`.",
|
|
1775
|
-
"options": [
|
|
1776
|
-
"auto",
|
|
1777
|
-
"root"
|
|
1778
|
-
]
|
|
1972
|
+
"options": []
|
|
1779
1973
|
},
|
|
1780
1974
|
"nano-intersection-observe/root-margin": {
|
|
1781
1975
|
"type": "string",
|
|
@@ -1787,6 +1981,49 @@
|
|
|
1787
1981
|
"description": "Indicate at what percentage of the target's visibility the observer's callback should be executed.\nIf you only want to detect when visibility passes the 50% mark, you can use a value of '0.5'.\nIf you want the callback to run every time visibility passes another '25%',\nyou would specify a string of values (separated by ',') array '0, 0.25, 0.5, 0.75, 1'.\nA value of '1.0' means that the threshold isn't considered passed until every pixel is visible.",
|
|
1788
1982
|
"options": []
|
|
1789
1983
|
},
|
|
1984
|
+
"nano-masked-overflow/active-handler": {
|
|
1985
|
+
"type": "(item: HTMLElement, _index: number) => void",
|
|
1986
|
+
"description": "A function called when an item becomes 'active' (via click or keyboard)",
|
|
1987
|
+
"options": []
|
|
1988
|
+
},
|
|
1989
|
+
"nano-masked-overflow/hide-scrollbars": {
|
|
1990
|
+
"type": "any",
|
|
1991
|
+
"description": "Show or hide the browser's default scrollbars. Defaults to `true` on vertical orientation and `false` on `horizontal` orientation",
|
|
1992
|
+
"options": []
|
|
1993
|
+
},
|
|
1994
|
+
"nano-masked-overflow/inactive-handler": {
|
|
1995
|
+
"type": "(item: HTMLElement, _index: number) => void",
|
|
1996
|
+
"description": "A function called when an item becomes 'inactive'\n(because another item was made active)",
|
|
1997
|
+
"options": []
|
|
1998
|
+
},
|
|
1999
|
+
"nano-masked-overflow/is-active-handler": {
|
|
2000
|
+
"type": "(item: HTMLElement, _index: number) => boolean",
|
|
2001
|
+
"description": "A function called to assess an initial, active item",
|
|
2002
|
+
"options": []
|
|
2003
|
+
},
|
|
2004
|
+
"nano-masked-overflow/label": {
|
|
2005
|
+
"type": "string",
|
|
2006
|
+
"description": "Used to appropriately label the scrolling element for screen-readers",
|
|
2007
|
+
"options": []
|
|
2008
|
+
},
|
|
2009
|
+
"nano-masked-overflow/orientation": {
|
|
2010
|
+
"type": "\"horizontal\" | \"vertical\"",
|
|
2011
|
+
"description": "The flex direction of the element",
|
|
2012
|
+
"options": [
|
|
2013
|
+
"horizontal",
|
|
2014
|
+
"vertical"
|
|
2015
|
+
]
|
|
2016
|
+
},
|
|
2017
|
+
"nano-masked-overflow/scroll-controls": {
|
|
2018
|
+
"type": "boolean",
|
|
2019
|
+
"description": "Disables the scroll arrow buttons that appear when content overflows",
|
|
2020
|
+
"options": []
|
|
2021
|
+
},
|
|
2022
|
+
"nano-masked-overflow/show-indicator": {
|
|
2023
|
+
"type": "boolean",
|
|
2024
|
+
"description": "Shows a track and a highlight line that automatically moves the currently active item.",
|
|
2025
|
+
"options": []
|
|
2026
|
+
},
|
|
1790
2027
|
"nano-menu/has-focus": {
|
|
1791
2028
|
"type": "boolean",
|
|
1792
2029
|
"description": "get the focus state of the menu",
|
|
@@ -1798,11 +2035,12 @@
|
|
|
1798
2035
|
"options": []
|
|
1799
2036
|
},
|
|
1800
2037
|
"nano-menu/type": {
|
|
1801
|
-
"type": "\"listbox\" | \"menu\"",
|
|
1802
|
-
"description": "changes the role of the underlying control
|
|
2038
|
+
"type": "\"listbox\" | \"menu\" | \"nav\"",
|
|
2039
|
+
"description": "changes the role of the underlying control (required for accessibility semantics).\nBy default this will be set via the frequency of element type (e.g. `<button>` vs `<a>`)",
|
|
1803
2040
|
"options": [
|
|
1804
2041
|
"listbox",
|
|
1805
|
-
"menu"
|
|
2042
|
+
"menu",
|
|
2043
|
+
"nav"
|
|
1806
2044
|
]
|
|
1807
2045
|
},
|
|
1808
2046
|
"nano-menu-drawer/hide-height": {
|
|
@@ -1845,6 +2083,11 @@
|
|
|
1845
2083
|
"description": "The default state. `false` - excess items are hidden. `true` - excess items are shown.",
|
|
1846
2084
|
"options": []
|
|
1847
2085
|
},
|
|
2086
|
+
"nano-nav-item/checkbox": {
|
|
2087
|
+
"type": "boolean",
|
|
2088
|
+
"description": "Changes behaviour so automatically becomes `selected` onClick",
|
|
2089
|
+
"options": []
|
|
2090
|
+
},
|
|
1848
2091
|
"nano-nav-item/close-on-blur": {
|
|
1849
2092
|
"type": "boolean",
|
|
1850
2093
|
"description": "Whether secondary menus should close on blur",
|
|
@@ -1857,7 +2100,7 @@
|
|
|
1857
2100
|
},
|
|
1858
2101
|
"nano-nav-item/href": {
|
|
1859
2102
|
"type": "string",
|
|
1860
|
-
"description": "Href to link to",
|
|
2103
|
+
"description": "Href to link to. Alternatively, slot an `<a>` element",
|
|
1861
2104
|
"options": []
|
|
1862
2105
|
},
|
|
1863
2106
|
"nano-nav-item/notification": {
|
|
@@ -1870,16 +2113,6 @@
|
|
|
1870
2113
|
"description": "Whether a secondary menu should be or is currently open",
|
|
1871
2114
|
"options": []
|
|
1872
2115
|
},
|
|
1873
|
-
"nano-nav-item/secondary-active-width": {
|
|
1874
|
-
"type": "number",
|
|
1875
|
-
"description": "Screen pixel width to activate the secondary menu",
|
|
1876
|
-
"options": []
|
|
1877
|
-
},
|
|
1878
|
-
"nano-nav-item/secondary-fallback": {
|
|
1879
|
-
"type": "() => void",
|
|
1880
|
-
"description": "Secondary fallback function for when the secondary menu is no longer active.",
|
|
1881
|
-
"options": []
|
|
1882
|
-
},
|
|
1883
2116
|
"nano-nav-item/selected": {
|
|
1884
2117
|
"type": "boolean",
|
|
1885
2118
|
"description": "Whether this menu item is currently 'selected'",
|
|
@@ -1905,6 +2138,11 @@
|
|
|
1905
2138
|
"description": "You can add extra meta for this option. When displayed in a list, users\nsearch / filter via extra related terms. Another usecase is 'endonyms'",
|
|
1906
2139
|
"options": []
|
|
1907
2140
|
},
|
|
2141
|
+
"nano-option/href": {
|
|
2142
|
+
"type": "string",
|
|
2143
|
+
"description": "Setting an href will render an `<a>` element",
|
|
2144
|
+
"options": []
|
|
2145
|
+
},
|
|
1908
2146
|
"nano-option/label": {
|
|
1909
2147
|
"type": "string",
|
|
1910
2148
|
"description": "Label of the option",
|
|
@@ -1920,34 +2158,6 @@
|
|
|
1920
2158
|
"description": "Value of the option",
|
|
1921
2159
|
"options": []
|
|
1922
2160
|
},
|
|
1923
|
-
"nano-overflow-nav/active-handler": {
|
|
1924
|
-
"type": "(item: HTMLElement, _index: number) => void",
|
|
1925
|
-
"description": "A function called when an item becomes 'active' (via click or keyboard)",
|
|
1926
|
-
"options": []
|
|
1927
|
-
},
|
|
1928
|
-
"nano-overflow-nav/in-active-handler": {
|
|
1929
|
-
"type": "(item: HTMLElement, _index: number) => void",
|
|
1930
|
-
"description": "A function called when an item becomes 'inactive'\n(because another item was made active)",
|
|
1931
|
-
"options": []
|
|
1932
|
-
},
|
|
1933
|
-
"nano-overflow-nav/is-active-handler": {
|
|
1934
|
-
"type": "(item: HTMLElement, _index: number) => boolean",
|
|
1935
|
-
"description": "A function called to assess an initial, active item",
|
|
1936
|
-
"options": []
|
|
1937
|
-
},
|
|
1938
|
-
"nano-overflow-nav/orientation": {
|
|
1939
|
-
"type": "\"horizontal\" | \"vertical\"",
|
|
1940
|
-
"description": "The flex direction of the element",
|
|
1941
|
-
"options": [
|
|
1942
|
-
"horizontal",
|
|
1943
|
-
"vertical"
|
|
1944
|
-
]
|
|
1945
|
-
},
|
|
1946
|
-
"nano-overflow-nav/scroll-controls": {
|
|
1947
|
-
"type": "boolean",
|
|
1948
|
-
"description": "Disables the scroll arrow buttons that appear when content overflows",
|
|
1949
|
-
"options": []
|
|
1950
|
-
},
|
|
1951
2161
|
"nano-progress-bar/indeterminate": {
|
|
1952
2162
|
"type": "boolean",
|
|
1953
2163
|
"description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
|
|
@@ -1964,17 +2174,13 @@
|
|
|
1964
2174
|
"options": []
|
|
1965
2175
|
},
|
|
1966
2176
|
"nano-range/color": {
|
|
1967
|
-
"type": "\"danger\" | \"
|
|
2177
|
+
"type": "\"danger\" | \"neutral\" | \"primary\" | \"success\" | \"warning\"",
|
|
1968
2178
|
"description": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`",
|
|
1969
2179
|
"options": [
|
|
1970
2180
|
"danger",
|
|
1971
|
-
"
|
|
1972
|
-
"light",
|
|
1973
|
-
"medium",
|
|
2181
|
+
"neutral",
|
|
1974
2182
|
"primary",
|
|
1975
|
-
"secondary",
|
|
1976
2183
|
"success",
|
|
1977
|
-
"tertiary",
|
|
1978
2184
|
"warning"
|
|
1979
2185
|
]
|
|
1980
2186
|
},
|
|
@@ -2097,26 +2303,11 @@
|
|
|
2097
2303
|
"description": "This Boolean attribute lets you specify that a form control should have select focus when the page loads.",
|
|
2098
2304
|
"options": []
|
|
2099
2305
|
},
|
|
2100
|
-
"nano-select/
|
|
2306
|
+
"nano-select/clearable": {
|
|
2101
2307
|
"type": "boolean",
|
|
2102
2308
|
"description": "If `true`, a clear icon will appear in the select when there is a value. Clicking it clears the select.",
|
|
2103
2309
|
"options": []
|
|
2104
2310
|
},
|
|
2105
|
-
"nano-select/color": {
|
|
2106
|
-
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
2107
|
-
"description": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.",
|
|
2108
|
-
"options": [
|
|
2109
|
-
"danger",
|
|
2110
|
-
"dark",
|
|
2111
|
-
"light",
|
|
2112
|
-
"medium",
|
|
2113
|
-
"primary",
|
|
2114
|
-
"secondary",
|
|
2115
|
-
"success",
|
|
2116
|
-
"tertiary",
|
|
2117
|
-
"warning"
|
|
2118
|
-
]
|
|
2119
|
-
},
|
|
2120
2311
|
"nano-select/debounce": {
|
|
2121
2312
|
"type": "number",
|
|
2122
2313
|
"description": "Set the amount of time, in milliseconds, to wait to trigger the `nanoSearchChange` event after each keystroke.",
|
|
@@ -2148,13 +2339,13 @@
|
|
|
2148
2339
|
"options": []
|
|
2149
2340
|
},
|
|
2150
2341
|
"nano-select/invalid": {
|
|
2151
|
-
"type": "
|
|
2342
|
+
"type": "any",
|
|
2152
2343
|
"description": "This will be true when the control is in an invalid state.\nValidity is determined by the `required` prop. Or if custom validity message is set.",
|
|
2153
2344
|
"options": []
|
|
2154
2345
|
},
|
|
2155
2346
|
"nano-select/label": {
|
|
2156
2347
|
"type": "string",
|
|
2157
|
-
"description": "String to place within a label element. Alternatively use
|
|
2348
|
+
"description": "String to place within a label element. Alternatively you may use a label slot.",
|
|
2158
2349
|
"options": []
|
|
2159
2350
|
},
|
|
2160
2351
|
"nano-select/mask": {
|
|
@@ -2204,7 +2395,7 @@
|
|
|
2204
2395
|
},
|
|
2205
2396
|
"nano-select/required": {
|
|
2206
2397
|
"type": "boolean",
|
|
2207
|
-
"description": "If `true`, the user must fill in a value before submitting a form.",
|
|
2398
|
+
"description": "If `true`, the user must fill in a value before submitting a form.\nBy default, setting this will also add an asterisk to the label.\nYou can disable this by using the `label` slot instead.",
|
|
2208
2399
|
"options": []
|
|
2209
2400
|
},
|
|
2210
2401
|
"nano-select/show-inline-error": {
|
|
@@ -2517,7 +2708,7 @@
|
|
|
2517
2708
|
},
|
|
2518
2709
|
"nano-tab/panel": {
|
|
2519
2710
|
"type": "string",
|
|
2520
|
-
"description": "The name of the tab panel the tab will control. The panel must be located in the same tab group.",
|
|
2711
|
+
"description": "The name of the `nano-tab-content` panel the tab will control. The content panel must be located in the same tab group.",
|
|
2521
2712
|
"options": []
|
|
2522
2713
|
},
|
|
2523
2714
|
"nano-tab-content/active": {
|
|
@@ -2530,26 +2721,16 @@
|
|
|
2530
2721
|
"description": "The tab panel's name.",
|
|
2531
2722
|
"options": []
|
|
2532
2723
|
},
|
|
2533
|
-
"nano-tab-group/color": {
|
|
2534
|
-
"type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\"",
|
|
2535
|
-
"description": "The color to use from the application's color palette.",
|
|
2536
|
-
"options": [
|
|
2537
|
-
"danger",
|
|
2538
|
-
"dark",
|
|
2539
|
-
"light",
|
|
2540
|
-
"medium",
|
|
2541
|
-
"primary",
|
|
2542
|
-
"secondary",
|
|
2543
|
-
"success",
|
|
2544
|
-
"tertiary",
|
|
2545
|
-
"warning"
|
|
2546
|
-
]
|
|
2547
|
-
},
|
|
2548
2724
|
"nano-tab-group/disable-swipe": {
|
|
2549
2725
|
"type": "boolean",
|
|
2550
2726
|
"description": "Disable 'swipe to change tab' on devices with touch",
|
|
2551
2727
|
"options": []
|
|
2552
2728
|
},
|
|
2729
|
+
"nano-tab-group/equal-tab-size": {
|
|
2730
|
+
"type": "boolean",
|
|
2731
|
+
"description": "Make all tabs equal size. This is only recommended when there are a small number of tabs",
|
|
2732
|
+
"options": []
|
|
2733
|
+
},
|
|
2553
2734
|
"nano-tab-group/no-scroll-controls": {
|
|
2554
2735
|
"type": "boolean",
|
|
2555
2736
|
"description": "Disables the scroll arrows that appear when tabs overflow.",
|
|
@@ -2563,14 +2744,22 @@
|
|
|
2563
2744
|
"top"
|
|
2564
2745
|
]
|
|
2565
2746
|
},
|
|
2747
|
+
"nano-tab-group/size": {
|
|
2748
|
+
"type": "\"large\" | \"regular\"",
|
|
2749
|
+
"description": "Size of tabs. Default is `regular`. `large` is only available when `placement=\"top\"`",
|
|
2750
|
+
"options": [
|
|
2751
|
+
"large",
|
|
2752
|
+
"regular"
|
|
2753
|
+
]
|
|
2754
|
+
},
|
|
2566
2755
|
"nano-tab-group/store-id": {
|
|
2567
2756
|
"type": "string",
|
|
2568
|
-
"description": "Store the
|
|
2757
|
+
"description": "Store the open tab against this ID in the component store.\nUse in combination with `storeMethod`",
|
|
2569
2758
|
"options": []
|
|
2570
2759
|
},
|
|
2571
2760
|
"nano-tab-group/store-method": {
|
|
2572
2761
|
"type": "\"local\" | \"session\" | \"url-hash\" | \"url-hash-push\" | \"url-query\" | \"url-query-push\"",
|
|
2573
|
-
"description": "The method of storage.\nEither session storage, url hash (after
|
|
2762
|
+
"description": "The method of storage.\nEither session storage, url hash (after an '#') or url query (after an '?').",
|
|
2574
2763
|
"options": [
|
|
2575
2764
|
"local",
|
|
2576
2765
|
"session",
|
|
@@ -2580,109 +2769,36 @@
|
|
|
2580
2769
|
"url-query-push"
|
|
2581
2770
|
]
|
|
2582
2771
|
},
|
|
2583
|
-
"nano-table/
|
|
2584
|
-
"type": "
|
|
2585
|
-
"description": "",
|
|
2586
|
-
"options": [
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
"type": "number",
|
|
2590
|
-
"description": "The number of total blocks currently rendered in the table.",
|
|
2591
|
-
"options": []
|
|
2592
|
-
},
|
|
2593
|
-
"nano-table/caption": {
|
|
2594
|
-
"type": "string",
|
|
2595
|
-
"description": "A descriptive title of the table.\nYou must use this or the `slot=\"caption\"` for accessibility",
|
|
2596
|
-
"options": []
|
|
2597
|
-
},
|
|
2598
|
-
"nano-table/columns": {
|
|
2599
|
-
"type": "ColumnConfig<any>[]",
|
|
2600
|
-
"description": "The column config used to present the rows of data",
|
|
2601
|
-
"options": []
|
|
2602
|
-
},
|
|
2603
|
-
"nano-table/custom-filter-fn": {
|
|
2604
|
-
"type": "(filters: Filter[]) => Promise<true | Falsy>",
|
|
2605
|
-
"description": "A custom filtering function. Should return a promise.\nIf the promise resolves as `true` the column UI will be updated.\nIf the promise resolves as falsy, the sort will be performed by the component.\nA good use-case would be performing the filter on a server / via fetch.\nThen on success, updating the table's data via the `rows` property",
|
|
2606
|
-
"options": []
|
|
2607
|
-
},
|
|
2608
|
-
"nano-table/custom-renderer": {
|
|
2609
|
-
"type": "(node: any, cell: HTMLElement | DocumentFragment) => void | Promise<string>",
|
|
2610
|
-
"description": "Function called whenever `col.cellTemplate` renders an unknown object.\nThe function should render a valid HTMLElement to the cell arg.\nExample usage - render JSX from a 3rd party lib and append the result to the cell element.",
|
|
2611
|
-
"options": []
|
|
2612
|
-
},
|
|
2613
|
-
"nano-table/custom-sort-fn": {
|
|
2614
|
-
"type": "(property: keyof RowGeneric, order: Order) => Promise<true | Falsy>",
|
|
2615
|
-
"description": "A custom sorting function. Should return a promise.\nIf the promise resolves as `true` the column UI will be updated.\nIf the promise resolves as falsey, the sort will be performed by the component.\nA good use-case would be performing the sort on a server / via fetch.\nThen on success, updating the table's data via the `rows` property",
|
|
2616
|
-
"options": []
|
|
2617
|
-
},
|
|
2618
|
-
"nano-table/default-sort": {
|
|
2619
|
-
"type": "boolean",
|
|
2620
|
-
"description": "The default sortable option for all columns.\n`true` will enable column sorting unless you set `sortable: false` on a column\n`false` will disable column sorting unless you set `sortable: true` on a column",
|
|
2621
|
-
"options": []
|
|
2622
|
-
},
|
|
2623
|
-
"nano-table/foot-render": {
|
|
2624
|
-
"type": "HeadFootRenderer<RowData<RowGeneric>>",
|
|
2625
|
-
"description": "Used for custom tfoot row rendering",
|
|
2626
|
-
"options": []
|
|
2627
|
-
},
|
|
2628
|
-
"nano-table/head-render": {
|
|
2629
|
-
"type": "HeadFootRenderer<RowData<RowGeneric>>",
|
|
2630
|
-
"description": "Used for custom thead row rendering",
|
|
2631
|
-
"options": []
|
|
2772
|
+
"nano-table/compact": {
|
|
2773
|
+
"type": "\"auto\" | boolean",
|
|
2774
|
+
"description": "If true, the table will be rendered in a compact style.",
|
|
2775
|
+
"options": [
|
|
2776
|
+
"auto"
|
|
2777
|
+
]
|
|
2632
2778
|
},
|
|
2633
|
-
"nano-table/
|
|
2779
|
+
"nano-table/hide-caption": {
|
|
2634
2780
|
"type": "boolean",
|
|
2635
|
-
"description": "
|
|
2636
|
-
"options": []
|
|
2637
|
-
},
|
|
2638
|
-
"nano-table/per-block": {
|
|
2639
|
-
"type": "number",
|
|
2640
|
-
"description": "To improve performance, data is split into blocks\nwhich are shown / hidden and rendered as they become visible.\nUse this to control the number of hits within a block -\nA block should fill a scrolling viewport.\nThe less perBlock the better for performance",
|
|
2781
|
+
"description": "Visually hide the table's caption",
|
|
2641
2782
|
"options": []
|
|
2642
2783
|
},
|
|
2643
|
-
"nano-table/
|
|
2644
|
-
"type": "number",
|
|
2645
|
-
"description": "When loading rows asynchronously, this will render this number of placeholder rows",
|
|
2646
|
-
"options": []
|
|
2647
|
-
},
|
|
2648
|
-
"nano-table/row-render": {
|
|
2649
|
-
"type": "RowRenderer<RowData<RowGeneric>>",
|
|
2650
|
-
"description": "Used for custom row rendering",
|
|
2651
|
-
"options": []
|
|
2652
|
-
},
|
|
2653
|
-
"nano-table/rows": {
|
|
2654
|
-
"type": "Promise<RowGeneric[]> | RowGeneric[]",
|
|
2655
|
-
"description": "The data to place in the table",
|
|
2656
|
-
"options": []
|
|
2657
|
-
},
|
|
2658
|
-
"nano-table/search-term": {
|
|
2659
|
-
"type": "string",
|
|
2660
|
-
"description": "Term to search for in the data",
|
|
2661
|
-
"options": []
|
|
2662
|
-
},
|
|
2663
|
-
"nano-table/show-caption": {
|
|
2784
|
+
"nano-table/scrollable": {
|
|
2664
2785
|
"type": "boolean",
|
|
2665
|
-
"description": "
|
|
2786
|
+
"description": "If true, will render any nested table in a scrollable container (using `overflow: auto`)",
|
|
2666
2787
|
"options": []
|
|
2667
2788
|
},
|
|
2668
|
-
"nano-
|
|
2789
|
+
"nano-tag/closable": {
|
|
2669
2790
|
"type": "boolean",
|
|
2670
|
-
"description": "Whether
|
|
2791
|
+
"description": "Whether the tag is closable or not.\nIf true, a close button will be displayed.",
|
|
2671
2792
|
"options": []
|
|
2672
2793
|
},
|
|
2673
|
-
"nano-
|
|
2674
|
-
"type": "\"
|
|
2675
|
-
"description": "The
|
|
2794
|
+
"nano-tag/size": {
|
|
2795
|
+
"type": "\"large\" | \"regular\"",
|
|
2796
|
+
"description": "The size of the tag.",
|
|
2676
2797
|
"options": [
|
|
2677
|
-
"
|
|
2678
|
-
"
|
|
2798
|
+
"large",
|
|
2799
|
+
"regular"
|
|
2679
2800
|
]
|
|
2680
2801
|
},
|
|
2681
|
-
"nano-table/virtual-total-items": {
|
|
2682
|
-
"type": "number",
|
|
2683
|
-
"description": "Use this to render the table with roughly the correct dimensions.\na use-case might be; fetch a small initial dataset to minimise load-time,\nrender the table with the correct dimensions, the table becomes interactive,\nload the rest of the data",
|
|
2684
|
-
"options": []
|
|
2685
|
-
},
|
|
2686
2802
|
"nano-tooltip/content": {
|
|
2687
2803
|
"type": "string",
|
|
2688
2804
|
"description": "The tooltip's content. Alternatively, you can use the content slot.",
|