@webority/ui-react 0.179.0 → 0.180.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/canvas-kit/kit.js +143 -143
- package/dist/canvas-kit/manifest.json +2479 -106
- package/dist/canvas-kit/release.json +6 -6
- package/dist/components/AppAgenda.js +1 -0
- package/dist/components/AppAsyncBlock.js +1 -1
- package/dist/components/AppButton.js +1 -1
- package/dist/components/AppCalendar.js +1 -1
- package/dist/components/AppCalendarViews.js +1 -0
- package/dist/components/AppChangeList.js +1 -0
- package/dist/components/AppChart.js +1 -1
- package/dist/components/AppColorField.js +1 -1
- package/dist/components/AppCommandPalette.js +1 -1
- package/dist/components/AppDashboardCell.js +1 -1
- package/dist/components/AppDashboardGrid.js +1 -1
- package/dist/components/AppDashboardHeader.js +1 -0
- package/dist/components/AppDataTable.js +1 -1
- package/dist/components/AppDatePicker.js +1 -1
- package/dist/components/AppDateRangePicker.js +1 -1
- package/dist/components/AppDateTimePicker.js +1 -1
- package/dist/components/AppDescriptions.js +1 -1
- package/dist/components/AppDropdown.js +1 -1
- package/dist/components/AppEntryGrid.js +1 -1
- package/dist/components/AppFileViewer.js +1 -1
- package/dist/components/AppForm.js +1 -1
- package/dist/components/AppFormActions.js +1 -1
- package/dist/components/AppFormRow.js +1 -1
- package/dist/components/AppGantt.js +1 -1
- package/dist/components/AppInput.js +1 -1
- package/dist/components/AppKanban.js +1 -1
- package/dist/components/AppKpiTile.js +1 -1
- package/dist/components/AppListCard.js +1 -0
- package/dist/components/AppMentionInput.js +1 -1
- package/dist/components/AppMiniCalendar.js +1 -0
- package/dist/components/AppNotificationCenter.js +1 -1
- package/dist/components/AppNumberInput.js +1 -1
- package/dist/components/AppOfflineBanner.js +1 -0
- package/dist/components/AppOtpInput.js +1 -1
- package/dist/components/AppPageHeader.js +1 -1
- package/dist/components/AppPhoneNumberInput.js +1 -1
- package/dist/components/AppQueueBundle.js +1 -0
- package/dist/components/AppResultBlock.js +1 -0
- package/dist/components/AppRouteError.js +1 -1
- package/dist/components/AppSearch.js +1 -1
- package/dist/components/AppSegmented.js +1 -1
- package/dist/components/AppSelect.js +1 -1
- package/dist/components/AppSettingRow.js +1 -0
- package/dist/components/AppSettingSection.js +1 -0
- package/dist/components/AppShell.js +1 -1
- package/dist/components/AppStepper.js +1 -1
- package/dist/components/AppTabs.js +1 -1
- package/dist/components/AppTimePicker.js +1 -1
- package/dist/components/AppWizard.js +1 -1
- package/dist/guidance.json +987 -9
- package/dist/lib/formStatusContext.js +1 -0
- package/dist/lib/useStickyLayer.js +1 -0
- package/dist/types/components/AppAgenda.d.ts +69 -0
- package/dist/types/components/AppAsyncBlock.d.ts +5 -0
- package/dist/types/components/AppButton.d.ts +9 -0
- package/dist/types/components/AppCalendar.d.ts +14 -0
- package/dist/types/components/AppCalendarViews.d.ts +69 -0
- package/dist/types/components/AppChangeList.d.ts +30 -0
- package/dist/types/components/AppChart.d.ts +5 -0
- package/dist/types/components/AppColorField.d.ts +2 -0
- package/dist/types/components/AppCommandPalette.d.ts +12 -0
- package/dist/types/components/AppDashboardCell.d.ts +17 -1
- package/dist/types/components/AppDashboardGrid.d.ts +39 -5
- package/dist/types/components/AppDashboardHeader.d.ts +21 -0
- package/dist/types/components/AppDataTable.d.ts +28 -2
- package/dist/types/components/AppDatePicker.d.ts +2 -0
- package/dist/types/components/AppDateRangePicker.d.ts +2 -0
- package/dist/types/components/AppDescriptions.d.ts +2 -0
- package/dist/types/components/AppDropdown.d.ts +2 -2
- package/dist/types/components/AppEntryGrid.d.ts +15 -0
- package/dist/types/components/AppFileViewer.d.ts +7 -0
- package/dist/types/components/AppForm.d.ts +5 -0
- package/dist/types/components/AppFormActions.d.ts +28 -4
- package/dist/types/components/AppFormRow.d.ts +5 -0
- package/dist/types/components/AppGantt.d.ts +10 -2
- package/dist/types/components/AppInput.d.ts +5 -0
- package/dist/types/components/AppKanban.d.ts +4 -0
- package/dist/types/components/AppKpiTile.d.ts +14 -1
- package/dist/types/components/AppListCard.d.ts +32 -0
- package/dist/types/components/AppMentionInput.d.ts +2 -0
- package/dist/types/components/AppMiniCalendar.d.ts +78 -0
- package/dist/types/components/AppNotificationCenter.d.ts +20 -0
- package/dist/types/components/AppNumberInput.d.ts +7 -0
- package/dist/types/components/AppOfflineBanner.d.ts +28 -0
- package/dist/types/components/AppOtpInput.d.ts +2 -0
- package/dist/types/components/AppPhoneNumberInput.d.ts +7 -0
- package/dist/types/components/AppQueueBundle.d.ts +35 -0
- package/dist/types/components/AppResultBlock.d.ts +62 -0
- package/dist/types/components/AppRouteError.d.ts +76 -4
- package/dist/types/components/AppSearch.d.ts +3 -0
- package/dist/types/components/AppSegmented.d.ts +14 -0
- package/dist/types/components/AppSelect.d.ts +2 -0
- package/dist/types/components/AppSettingRow.d.ts +61 -0
- package/dist/types/components/AppSettingSection.d.ts +23 -0
- package/dist/types/components/AppShell.d.ts +10 -62
- package/dist/types/components/AppStepper.d.ts +6 -1
- package/dist/types/components/AppTabs.d.ts +5 -0
- package/dist/types/components/AppTimePicker.d.ts +2 -0
- package/dist/types/components/AppWizard.d.ts +31 -2
- package/dist/types/index.d.ts +17 -2
- package/dist/types/lib/focusField.d.ts +1 -2
- package/dist/types/lib/formStatusContext.d.ts +15 -0
- package/dist/types/lib/useStickyLayer.d.ts +7 -0
- package/dist/ui-react.js +1 -1
- package/package.json +11 -11
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"kind": "WeborityWeb",
|
|
3
3
|
"library": {
|
|
4
4
|
"name": "@webority/ui-react",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.180.0"
|
|
6
6
|
},
|
|
7
7
|
"rendererProtocolVersion": 14,
|
|
8
8
|
"platform": "Web",
|
|
@@ -552,6 +552,402 @@
|
|
|
552
552
|
]
|
|
553
553
|
}
|
|
554
554
|
},
|
|
555
|
+
{
|
|
556
|
+
"name": "AppAgenda",
|
|
557
|
+
"marker": "AppAgenda",
|
|
558
|
+
"acceptsChildren": false,
|
|
559
|
+
"props": [
|
|
560
|
+
{
|
|
561
|
+
"name": "cap",
|
|
562
|
+
"type": "number",
|
|
563
|
+
"required": false,
|
|
564
|
+
"description": "Shows this many rows per day; the rest sit behind a Show more toggle."
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "className",
|
|
568
|
+
"type": "string",
|
|
569
|
+
"required": false,
|
|
570
|
+
"description": "Classes for the agenda root.",
|
|
571
|
+
"default": ""
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "empty",
|
|
575
|
+
"type": "node",
|
|
576
|
+
"required": false,
|
|
577
|
+
"description": "Shown when there are no groups."
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "error",
|
|
581
|
+
"type": "node",
|
|
582
|
+
"required": false,
|
|
583
|
+
"description": "A load failure, shown as a danger alert."
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "groups",
|
|
587
|
+
"type": "array",
|
|
588
|
+
"required": false,
|
|
589
|
+
"description": "The days, each { date, label, count, flag, items, onAdd or addHref, addLabel }. An item is { id, title, subtitle, badge, avatar: { name, src }, icon }.",
|
|
590
|
+
"default": []
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "label",
|
|
594
|
+
"type": "string",
|
|
595
|
+
"required": false,
|
|
596
|
+
"description": "The accessible name of the agenda."
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "loading",
|
|
600
|
+
"type": "boolean",
|
|
601
|
+
"required": false,
|
|
602
|
+
"description": "Shows a loading placeholder in place of the days.",
|
|
603
|
+
"default": false
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "showMoreLabel",
|
|
607
|
+
"type": "string",
|
|
608
|
+
"required": false,
|
|
609
|
+
"description": "The Show more text; {count} is replaced by the hidden row count."
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"itemsTakeAction": [],
|
|
613
|
+
"takesAction": [],
|
|
614
|
+
"source": "@webority/ui-react",
|
|
615
|
+
"usage": {
|
|
616
|
+
"when": [
|
|
617
|
+
"Events for a span of days, read day by day: leave, shifts, visits, deliveries.",
|
|
618
|
+
"Each day needs its own count, an inline warning, or an add action."
|
|
619
|
+
],
|
|
620
|
+
"whenNot": [
|
|
621
|
+
{
|
|
622
|
+
"text": "The rows are records to sort, filter or page through.",
|
|
623
|
+
"instead": "AppDataTable"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"text": "The events sit on a timeline or a month grid a person scrolls.",
|
|
627
|
+
"instead": "AppCalendar"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"text": "The rows are a history of what happened, by whom, when.",
|
|
631
|
+
"instead": "AppTimeline"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"text": "There is nothing to show yet.",
|
|
635
|
+
"instead": "AppEmptyState"
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
"do": [
|
|
639
|
+
{
|
|
640
|
+
"title": "Give each day its count and its add action",
|
|
641
|
+
"note": "The count answers how many people are away, and the add action names the day it adds to, so a person can act without leaving the list.",
|
|
642
|
+
"example": [
|
|
643
|
+
{
|
|
644
|
+
"component": "AppAgenda",
|
|
645
|
+
"props": {
|
|
646
|
+
"groups": [
|
|
647
|
+
{
|
|
648
|
+
"date": "2026-11-27",
|
|
649
|
+
"label": "Fri 27 Nov 2026",
|
|
650
|
+
"count": "Away: 3 of 8",
|
|
651
|
+
"items": [
|
|
652
|
+
{
|
|
653
|
+
"id": "a1",
|
|
654
|
+
"title": "Priya Sharma",
|
|
655
|
+
"subtitle": "Annual leave, 2 days",
|
|
656
|
+
"badge": "Approved",
|
|
657
|
+
"avatar": {
|
|
658
|
+
"name": "Priya Sharma"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"id": "a2",
|
|
663
|
+
"title": "Rahul Mehta",
|
|
664
|
+
"subtitle": "Sick leave",
|
|
665
|
+
"badge": "Approved",
|
|
666
|
+
"avatar": {
|
|
667
|
+
"name": "Rahul Mehta"
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"id": "a3",
|
|
672
|
+
"title": "Asha Rao",
|
|
673
|
+
"subtitle": "Work from Pune",
|
|
674
|
+
"badge": "Pending",
|
|
675
|
+
"avatar": {
|
|
676
|
+
"name": "Asha Rao"
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"addHref": "/leave/new?date=2026-11-27",
|
|
681
|
+
"addLabel": "Add leave on 27-Nov-2026"
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"title": "Cap a busy day",
|
|
690
|
+
"note": "Give cap a number so a day with many rows shows the first few and a Show more toggle for the rest.",
|
|
691
|
+
"example": [
|
|
692
|
+
{
|
|
693
|
+
"component": "AppAgenda",
|
|
694
|
+
"props": {
|
|
695
|
+
"cap": 2,
|
|
696
|
+
"groups": [
|
|
697
|
+
{
|
|
698
|
+
"date": "2026-11-28",
|
|
699
|
+
"label": "Sat 28 Nov 2026",
|
|
700
|
+
"count": "Away: 5 of 8",
|
|
701
|
+
"items": [
|
|
702
|
+
{
|
|
703
|
+
"id": "a1",
|
|
704
|
+
"title": "Priya Sharma",
|
|
705
|
+
"subtitle": "Annual leave, 2 days",
|
|
706
|
+
"badge": "Approved",
|
|
707
|
+
"avatar": {
|
|
708
|
+
"name": "Priya Sharma"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"id": "a2",
|
|
713
|
+
"title": "Rahul Mehta",
|
|
714
|
+
"subtitle": "Sick leave",
|
|
715
|
+
"badge": "Approved",
|
|
716
|
+
"avatar": {
|
|
717
|
+
"name": "Rahul Mehta"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"id": "a3",
|
|
722
|
+
"title": "Asha Rao",
|
|
723
|
+
"subtitle": "Work from Pune",
|
|
724
|
+
"badge": "Pending",
|
|
725
|
+
"avatar": {
|
|
726
|
+
"name": "Asha Rao"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"id": "a4",
|
|
731
|
+
"title": "Dev Patel",
|
|
732
|
+
"subtitle": "Annual leave",
|
|
733
|
+
"avatar": {
|
|
734
|
+
"name": "Dev Patel"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"id": "a5",
|
|
739
|
+
"title": "Nisha Kapoor",
|
|
740
|
+
"subtitle": "Public holiday cover",
|
|
741
|
+
"avatar": {
|
|
742
|
+
"name": "Nisha Kapoor"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
]
|
|
746
|
+
}
|
|
747
|
+
]
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"title": "Show a clash as a day warning",
|
|
754
|
+
"note": "A clash is a day-level warning a person has to see, so it goes in flag, not in a row's badge.",
|
|
755
|
+
"example": [
|
|
756
|
+
{
|
|
757
|
+
"component": "AppAgenda",
|
|
758
|
+
"props": {
|
|
759
|
+
"groups": [
|
|
760
|
+
{
|
|
761
|
+
"date": "2026-11-30",
|
|
762
|
+
"label": "Mon 30 Nov 2026",
|
|
763
|
+
"count": "Away: 4 of 8",
|
|
764
|
+
"flag": "Cover is thin: 4 of 8 away.",
|
|
765
|
+
"items": [
|
|
766
|
+
{
|
|
767
|
+
"id": "a1",
|
|
768
|
+
"title": "Priya Sharma",
|
|
769
|
+
"subtitle": "Annual leave, 2 days",
|
|
770
|
+
"badge": "Approved",
|
|
771
|
+
"avatar": {
|
|
772
|
+
"name": "Priya Sharma"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"id": "a2",
|
|
777
|
+
"title": "Rahul Mehta",
|
|
778
|
+
"subtitle": "Sick leave",
|
|
779
|
+
"badge": "Approved",
|
|
780
|
+
"avatar": {
|
|
781
|
+
"name": "Rahul Mehta"
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"id": "a3",
|
|
786
|
+
"title": "Asha Rao",
|
|
787
|
+
"subtitle": "Work from Pune",
|
|
788
|
+
"badge": "Pending",
|
|
789
|
+
"avatar": {
|
|
790
|
+
"name": "Asha Rao"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"id": "a4",
|
|
795
|
+
"title": "Dev Patel",
|
|
796
|
+
"subtitle": "Annual leave",
|
|
797
|
+
"avatar": {
|
|
798
|
+
"name": "Dev Patel"
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
]
|
|
807
|
+
}
|
|
808
|
+
],
|
|
809
|
+
"dont": [
|
|
810
|
+
{
|
|
811
|
+
"title": "Give each day its count and its add action",
|
|
812
|
+
"note": "A day with no count or add action leaves a person to work out how many are away and where to add.",
|
|
813
|
+
"example": [
|
|
814
|
+
{
|
|
815
|
+
"component": "AppAgenda",
|
|
816
|
+
"props": {
|
|
817
|
+
"groups": [
|
|
818
|
+
{
|
|
819
|
+
"date": "2026-11-27",
|
|
820
|
+
"label": "Fri 27 Nov 2026",
|
|
821
|
+
"items": [
|
|
822
|
+
{
|
|
823
|
+
"id": "a1",
|
|
824
|
+
"title": "Priya Sharma",
|
|
825
|
+
"subtitle": "Annual leave, 2 days",
|
|
826
|
+
"badge": "Approved",
|
|
827
|
+
"avatar": {
|
|
828
|
+
"name": "Priya Sharma"
|
|
829
|
+
}
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"id": "a2",
|
|
833
|
+
"title": "Rahul Mehta",
|
|
834
|
+
"subtitle": "Sick leave",
|
|
835
|
+
"badge": "Approved",
|
|
836
|
+
"avatar": {
|
|
837
|
+
"name": "Rahul Mehta"
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"id": "a3",
|
|
842
|
+
"title": "Asha Rao",
|
|
843
|
+
"subtitle": "Work from Pune",
|
|
844
|
+
"badge": "Pending",
|
|
845
|
+
"avatar": {
|
|
846
|
+
"name": "Asha Rao"
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
]
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
]
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"title": "Cap a busy day",
|
|
858
|
+
"note": "A day with many rows and no cap pushes the days after it off the screen.",
|
|
859
|
+
"example": [
|
|
860
|
+
{
|
|
861
|
+
"component": "AppAgenda",
|
|
862
|
+
"props": {
|
|
863
|
+
"groups": [
|
|
864
|
+
{
|
|
865
|
+
"date": "2026-11-28",
|
|
866
|
+
"label": "Sat 28 Nov 2026",
|
|
867
|
+
"count": "Away: 5 of 8",
|
|
868
|
+
"items": [
|
|
869
|
+
{
|
|
870
|
+
"id": "a1",
|
|
871
|
+
"title": "Priya Sharma",
|
|
872
|
+
"subtitle": "Annual leave, 2 days",
|
|
873
|
+
"badge": "Approved",
|
|
874
|
+
"avatar": {
|
|
875
|
+
"name": "Priya Sharma"
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"id": "a2",
|
|
880
|
+
"title": "Rahul Mehta",
|
|
881
|
+
"subtitle": "Sick leave",
|
|
882
|
+
"badge": "Approved",
|
|
883
|
+
"avatar": {
|
|
884
|
+
"name": "Rahul Mehta"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"id": "a3",
|
|
889
|
+
"title": "Asha Rao",
|
|
890
|
+
"subtitle": "Work from Pune",
|
|
891
|
+
"badge": "Pending",
|
|
892
|
+
"avatar": {
|
|
893
|
+
"name": "Asha Rao"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"id": "a4",
|
|
898
|
+
"title": "Dev Patel",
|
|
899
|
+
"subtitle": "Annual leave",
|
|
900
|
+
"avatar": {
|
|
901
|
+
"name": "Dev Patel"
|
|
902
|
+
}
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"id": "a5",
|
|
906
|
+
"title": "Nisha Kapoor",
|
|
907
|
+
"subtitle": "Public holiday cover",
|
|
908
|
+
"avatar": {
|
|
909
|
+
"name": "Nisha Kapoor"
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
]
|
|
913
|
+
}
|
|
914
|
+
]
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
]
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"title": "Show a clash as a day warning",
|
|
921
|
+
"note": "A clash hidden inside a row's badge is one a person can miss, so it does not belong there.",
|
|
922
|
+
"example": [
|
|
923
|
+
{
|
|
924
|
+
"component": "AppAgenda",
|
|
925
|
+
"props": {
|
|
926
|
+
"groups": [
|
|
927
|
+
{
|
|
928
|
+
"date": "2026-11-30",
|
|
929
|
+
"label": "Mon 30 Nov 2026",
|
|
930
|
+
"items": [
|
|
931
|
+
{
|
|
932
|
+
"id": "x",
|
|
933
|
+
"title": "Cover is thin",
|
|
934
|
+
"badge": "Warning"
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
}
|
|
938
|
+
]
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
]
|
|
942
|
+
}
|
|
943
|
+
],
|
|
944
|
+
"a11y": [
|
|
945
|
+
"The agenda is a named region, and each day is a named region under its heading, so a screen reader can move between days.",
|
|
946
|
+
"Show more is a native details and summary: it opens with the keyboard and announces its state, with no script.",
|
|
947
|
+
"Pass onAdd or addHref on a day, never both: the add action is a button or a link, and a day that passes both throws."
|
|
948
|
+
]
|
|
949
|
+
}
|
|
950
|
+
},
|
|
555
951
|
{
|
|
556
952
|
"name": "AppAlert",
|
|
557
953
|
"marker": "AppAlert",
|
|
@@ -810,6 +1206,13 @@
|
|
|
810
1206
|
"description": "Replaces the built-in English text, for other languages.",
|
|
811
1207
|
"default": "Loading"
|
|
812
1208
|
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "retryFailedTitle",
|
|
1211
|
+
"type": "string",
|
|
1212
|
+
"required": false,
|
|
1213
|
+
"description": "The error title once a Try again has failed. The block shows how many times it failed.",
|
|
1214
|
+
"default": "That still didn't load"
|
|
1215
|
+
},
|
|
813
1216
|
{
|
|
814
1217
|
"name": "retryLabel",
|
|
815
1218
|
"type": "string",
|
|
@@ -1850,6 +2253,12 @@
|
|
|
1850
2253
|
"description": "Disables the button.",
|
|
1851
2254
|
"default": false
|
|
1852
2255
|
},
|
|
2256
|
+
{
|
|
2257
|
+
"name": "disabledReason",
|
|
2258
|
+
"type": "string",
|
|
2259
|
+
"required": false,
|
|
2260
|
+
"description": "Why the button is disabled, shown as its tooltip on a focusable holder so keyboard and screen reader users reach it. Replaces tooltip while disabled; needs disabled, and a button that is not disabled throws."
|
|
2261
|
+
},
|
|
1853
2262
|
{
|
|
1854
2263
|
"name": "href",
|
|
1855
2264
|
"type": "url",
|
|
@@ -1901,6 +2310,13 @@
|
|
|
1901
2310
|
"description": "The iconsax style of a named leftIcon / rightIcon.",
|
|
1902
2311
|
"default": "linear"
|
|
1903
2312
|
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "inline",
|
|
2315
|
+
"type": "boolean",
|
|
2316
|
+
"required": false,
|
|
2317
|
+
"description": "Draws a link-variant button inside a line of text, such as a figure in a sentence: no minimum size, padding or border, and the text's own font. Ignored on any other variant.",
|
|
2318
|
+
"default": false
|
|
2319
|
+
},
|
|
1904
2320
|
{
|
|
1905
2321
|
"name": "leftIcon",
|
|
1906
2322
|
"type": "icon",
|
|
@@ -2446,6 +2862,48 @@
|
|
|
2446
2862
|
"description": "The name a screen reader hears for the calendar.",
|
|
2447
2863
|
"default": "Calendar"
|
|
2448
2864
|
},
|
|
2865
|
+
{
|
|
2866
|
+
"name": "markers",
|
|
2867
|
+
"type": "array",
|
|
2868
|
+
"itemFields": [
|
|
2869
|
+
{
|
|
2870
|
+
"name": "date",
|
|
2871
|
+
"type": "string",
|
|
2872
|
+
"required": true,
|
|
2873
|
+
"description": "The day, `YYYY-MM-DD`."
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"name": "label",
|
|
2877
|
+
"type": "string",
|
|
2878
|
+
"required": true,
|
|
2879
|
+
"description": "What the dot says, read by a screen reader."
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
"name": "tone",
|
|
2883
|
+
"type": "enum",
|
|
2884
|
+
"enum": [
|
|
2885
|
+
"neutral",
|
|
2886
|
+
"warning"
|
|
2887
|
+
],
|
|
2888
|
+
"required": false,
|
|
2889
|
+
"description": "Neutral for a plain mark, warning for a clash or a shortfall."
|
|
2890
|
+
}
|
|
2891
|
+
],
|
|
2892
|
+
"required": false,
|
|
2893
|
+
"description": "Days with a dot. A warning dot shows a clash without hiding the day's events; its label is read by a screen reader."
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"name": "monthParam",
|
|
2897
|
+
"type": "string",
|
|
2898
|
+
"required": false,
|
|
2899
|
+
"description": "The query parameter (for example `month`) that holds the month shown, as `YYYY-MM`. The calendar opens on the month it names in the current address, and writes the month back, with no new history entry, whenever the visible month changes, so a page reload keeps the month. An absent or invalid value opens on `date`, else today. Unset, the address is never read or written."
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
"name": "selectedDate",
|
|
2903
|
+
"type": "string",
|
|
2904
|
+
"required": false,
|
|
2905
|
+
"description": "The day (`YYYY-MM-DD`, in the time zone of the calendar) drawn as selected, for a page that opens a day list or drawer from a click. Changing it moves the mark."
|
|
2906
|
+
},
|
|
2449
2907
|
{
|
|
2450
2908
|
"name": "style",
|
|
2451
2909
|
"type": "object",
|
|
@@ -2503,6 +2961,131 @@
|
|
|
2503
2961
|
]
|
|
2504
2962
|
}
|
|
2505
2963
|
},
|
|
2964
|
+
{
|
|
2965
|
+
"name": "AppCalendarViews",
|
|
2966
|
+
"marker": "AppCalendarViews",
|
|
2967
|
+
"acceptsChildren": true,
|
|
2968
|
+
"props": [
|
|
2969
|
+
{
|
|
2970
|
+
"name": "actions",
|
|
2971
|
+
"type": "node",
|
|
2972
|
+
"required": false,
|
|
2973
|
+
"description": "Buttons shown at the end of the header."
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
"name": "className",
|
|
2977
|
+
"type": "string",
|
|
2978
|
+
"required": false,
|
|
2979
|
+
"description": "Extra classes on the root element.",
|
|
2980
|
+
"default": ""
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "label",
|
|
2984
|
+
"type": "string",
|
|
2985
|
+
"required": false,
|
|
2986
|
+
"description": "The name a screen reader hears for the view switcher.",
|
|
2987
|
+
"default": "Calendar view"
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"name": "legend",
|
|
2991
|
+
"type": "node",
|
|
2992
|
+
"required": false,
|
|
2993
|
+
"description": "A legend shown beside the switcher."
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
"name": "period",
|
|
2997
|
+
"type": "string",
|
|
2998
|
+
"required": false,
|
|
2999
|
+
"description": "The period shown, such as \"November 2026\"."
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
"name": "style",
|
|
3003
|
+
"type": "object",
|
|
3004
|
+
"required": false,
|
|
3005
|
+
"description": "Inline style on the root element."
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"name": "view",
|
|
3009
|
+
"type": "enum",
|
|
3010
|
+
"enum": [
|
|
3011
|
+
"agenda",
|
|
3012
|
+
"month",
|
|
3013
|
+
"timeline"
|
|
3014
|
+
],
|
|
3015
|
+
"required": false,
|
|
3016
|
+
"description": "The view shown. Unset, the calendar opens on the `#view=` name in the address, else the first of `views`."
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"name": "views",
|
|
3020
|
+
"type": "array",
|
|
3021
|
+
"required": false,
|
|
3022
|
+
"description": "The views the switcher offers, in its order. Agenda is the first and so the default.",
|
|
3023
|
+
"default": [
|
|
3024
|
+
"agenda",
|
|
3025
|
+
"timeline",
|
|
3026
|
+
"month"
|
|
3027
|
+
]
|
|
3028
|
+
}
|
|
3029
|
+
],
|
|
3030
|
+
"itemsTakeAction": [],
|
|
3031
|
+
"takesAction": [],
|
|
3032
|
+
"source": "@webority/ui-react",
|
|
3033
|
+
"usage": {
|
|
3034
|
+
"when": [
|
|
3035
|
+
"A person moves through a period of days and switches how its events show: agenda, timeline or month.",
|
|
3036
|
+
"The page has one period to show, and the view is a choice the person makes."
|
|
3037
|
+
],
|
|
3038
|
+
"whenNot": [
|
|
3039
|
+
{
|
|
3040
|
+
"text": "The page shows one view only, with no switcher.",
|
|
3041
|
+
"instead": "AppCalendar"
|
|
3042
|
+
},
|
|
3043
|
+
{
|
|
3044
|
+
"text": "The rows are records to sort, filter or page through.",
|
|
3045
|
+
"instead": "AppDataTable"
|
|
3046
|
+
}
|
|
3047
|
+
],
|
|
3048
|
+
"do": [
|
|
3049
|
+
{
|
|
3050
|
+
"title": "Name the period in the header",
|
|
3051
|
+
"note": "The period tells a person which days the view shows, so they can check it before they act.",
|
|
3052
|
+
"example": [
|
|
3053
|
+
{
|
|
3054
|
+
"component": "AppCalendarViews",
|
|
3055
|
+
"props": {
|
|
3056
|
+
"period": "November 2026",
|
|
3057
|
+
"view": "agenda"
|
|
3058
|
+
},
|
|
3059
|
+
"children": [
|
|
3060
|
+
{
|
|
3061
|
+
"component": "p",
|
|
3062
|
+
"children": "Agenda body"
|
|
3063
|
+
}
|
|
3064
|
+
]
|
|
3065
|
+
}
|
|
3066
|
+
]
|
|
3067
|
+
}
|
|
3068
|
+
],
|
|
3069
|
+
"dont": [
|
|
3070
|
+
{
|
|
3071
|
+
"title": "Name the period in the header",
|
|
3072
|
+
"note": "Without a period a person cannot tell which days the view shows.",
|
|
3073
|
+
"example": [
|
|
3074
|
+
{
|
|
3075
|
+
"component": "AppCalendarViews",
|
|
3076
|
+
"props": {
|
|
3077
|
+
"view": "month"
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
]
|
|
3081
|
+
}
|
|
3082
|
+
],
|
|
3083
|
+
"a11y": [
|
|
3084
|
+
"The view switcher is a group of radio buttons named by the label, so a screen reader hears each view name and which one is chosen.",
|
|
3085
|
+
"Previous, Next and Today are native buttons with their own names."
|
|
3086
|
+
]
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
2506
3089
|
{
|
|
2507
3090
|
"name": "AppCard",
|
|
2508
3091
|
"marker": "AppCard",
|
|
@@ -3061,6 +3644,120 @@
|
|
|
3061
3644
|
]
|
|
3062
3645
|
}
|
|
3063
3646
|
},
|
|
3647
|
+
{
|
|
3648
|
+
"name": "AppChangeList",
|
|
3649
|
+
"marker": "AppChangeList",
|
|
3650
|
+
"acceptsChildren": false,
|
|
3651
|
+
"props": [
|
|
3652
|
+
{
|
|
3653
|
+
"name": "className",
|
|
3654
|
+
"type": "string",
|
|
3655
|
+
"required": false,
|
|
3656
|
+
"description": "Added to the list's root element.",
|
|
3657
|
+
"default": ""
|
|
3658
|
+
},
|
|
3659
|
+
{
|
|
3660
|
+
"name": "items",
|
|
3661
|
+
"type": "array",
|
|
3662
|
+
"itemFields": [
|
|
3663
|
+
{
|
|
3664
|
+
"name": "key",
|
|
3665
|
+
"type": "string",
|
|
3666
|
+
"required": false,
|
|
3667
|
+
"description": "A stable React key; a text label needs none."
|
|
3668
|
+
},
|
|
3669
|
+
{
|
|
3670
|
+
"name": "label",
|
|
3671
|
+
"type": "node",
|
|
3672
|
+
"required": true,
|
|
3673
|
+
"description": "What changes: the setting or field name."
|
|
3674
|
+
},
|
|
3675
|
+
{
|
|
3676
|
+
"name": "note",
|
|
3677
|
+
"type": "node",
|
|
3678
|
+
"required": false,
|
|
3679
|
+
"description": "One line of context, such as what the change does."
|
|
3680
|
+
},
|
|
3681
|
+
{
|
|
3682
|
+
"name": "now",
|
|
3683
|
+
"type": "node",
|
|
3684
|
+
"required": false,
|
|
3685
|
+
"description": "The value after the change."
|
|
3686
|
+
},
|
|
3687
|
+
{
|
|
3688
|
+
"name": "was",
|
|
3689
|
+
"type": "node",
|
|
3690
|
+
"required": false,
|
|
3691
|
+
"description": "The value before the change; left out when there is none."
|
|
3692
|
+
}
|
|
3693
|
+
],
|
|
3694
|
+
"required": false,
|
|
3695
|
+
"description": "The changes, each with its label, the value it was and the value it becomes.",
|
|
3696
|
+
"default": []
|
|
3697
|
+
}
|
|
3698
|
+
],
|
|
3699
|
+
"itemsTakeAction": [],
|
|
3700
|
+
"takesAction": [],
|
|
3701
|
+
"source": "@webority/ui-react",
|
|
3702
|
+
"usage": {
|
|
3703
|
+
"when": [
|
|
3704
|
+
"A person is about to save a change and must read what it replaces before confirming.",
|
|
3705
|
+
"A risky change needs its was and now values listed in the confirm dialog or the setting's confirm panel."
|
|
3706
|
+
],
|
|
3707
|
+
"whenNot": [
|
|
3708
|
+
{
|
|
3709
|
+
"text": "The values are read only and shown as facts about a record.",
|
|
3710
|
+
"instead": "AppDescriptions"
|
|
3711
|
+
},
|
|
3712
|
+
{
|
|
3713
|
+
"text": "The change is confirmed without showing its values.",
|
|
3714
|
+
"instead": "AppConfirmDialog alone"
|
|
3715
|
+
}
|
|
3716
|
+
],
|
|
3717
|
+
"do": [
|
|
3718
|
+
{
|
|
3719
|
+
"title": "Show both values",
|
|
3720
|
+
"note": "Show the value it was and the value it becomes, so the person can compare them.",
|
|
3721
|
+
"example": [
|
|
3722
|
+
{
|
|
3723
|
+
"component": "AppChangeList",
|
|
3724
|
+
"props": {
|
|
3725
|
+
"items": [
|
|
3726
|
+
{
|
|
3727
|
+
"label": "Invoice prefix",
|
|
3728
|
+
"was": "INV",
|
|
3729
|
+
"now": "BILL"
|
|
3730
|
+
}
|
|
3731
|
+
]
|
|
3732
|
+
}
|
|
3733
|
+
}
|
|
3734
|
+
]
|
|
3735
|
+
}
|
|
3736
|
+
],
|
|
3737
|
+
"dont": [
|
|
3738
|
+
{
|
|
3739
|
+
"title": "Show both values",
|
|
3740
|
+
"note": "A change with no values tells the person nothing about what will change.",
|
|
3741
|
+
"example": [
|
|
3742
|
+
{
|
|
3743
|
+
"component": "AppChangeList",
|
|
3744
|
+
"props": {
|
|
3745
|
+
"items": [
|
|
3746
|
+
{
|
|
3747
|
+
"label": "Invoice prefix"
|
|
3748
|
+
}
|
|
3749
|
+
]
|
|
3750
|
+
}
|
|
3751
|
+
}
|
|
3752
|
+
]
|
|
3753
|
+
}
|
|
3754
|
+
],
|
|
3755
|
+
"a11y": [
|
|
3756
|
+
"Renders an unordered list: each change is one item, its label first, then the was value and the now value.",
|
|
3757
|
+
"The words Was and Now are text, so the change reads the same without colour."
|
|
3758
|
+
]
|
|
3759
|
+
}
|
|
3760
|
+
},
|
|
3064
3761
|
{
|
|
3065
3762
|
"name": "AppChart",
|
|
3066
3763
|
"marker": "AppChart",
|
|
@@ -3156,6 +3853,13 @@
|
|
|
3156
3853
|
"description": "In px, the axis labels included. A value that is not above 0 draws at the default.",
|
|
3157
3854
|
"default": 320
|
|
3158
3855
|
},
|
|
3856
|
+
{
|
|
3857
|
+
"name": "incompleteLast",
|
|
3858
|
+
"type": "boolean",
|
|
3859
|
+
"required": false,
|
|
3860
|
+
"description": "The last period is not finished: a column or bar draws it lighter, a line or area draws its last segment dashed, and the tooltip says so far. Line, area, column and bar only; ignored on a stacked line or area.",
|
|
3861
|
+
"default": false
|
|
3862
|
+
},
|
|
3159
3863
|
{
|
|
3160
3864
|
"name": "loading",
|
|
3161
3865
|
"type": "boolean",
|
|
@@ -5267,6 +5971,15 @@
|
|
|
5267
5971
|
"type": "string",
|
|
5268
5972
|
"required": false,
|
|
5269
5973
|
"description": "Hex colour, for example #4F46E5."
|
|
5974
|
+
},
|
|
5975
|
+
{
|
|
5976
|
+
"name": "variant",
|
|
5977
|
+
"type": "enum",
|
|
5978
|
+
"enum": [
|
|
5979
|
+
"underline"
|
|
5980
|
+
],
|
|
5981
|
+
"required": false,
|
|
5982
|
+
"description": "Underline keeps only a line under the field."
|
|
5270
5983
|
}
|
|
5271
5984
|
],
|
|
5272
5985
|
"itemsTakeAction": [],
|
|
@@ -5576,6 +6289,26 @@
|
|
|
5576
6289
|
"description": "Shown when the query is not blank, nothing is loading, and no group has items.",
|
|
5577
6290
|
"default": "No results"
|
|
5578
6291
|
},
|
|
6292
|
+
{
|
|
6293
|
+
"name": "error",
|
|
6294
|
+
"type": "object",
|
|
6295
|
+
"fields": [
|
|
6296
|
+
{
|
|
6297
|
+
"name": "text",
|
|
6298
|
+
"type": "node",
|
|
6299
|
+
"required": false,
|
|
6300
|
+
"description": "What the person can do next."
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
"name": "title",
|
|
6304
|
+
"type": "node",
|
|
6305
|
+
"required": true,
|
|
6306
|
+
"description": "What failed, in a line."
|
|
6307
|
+
}
|
|
6308
|
+
],
|
|
6309
|
+
"required": false,
|
|
6310
|
+
"description": "A failed search: the title and text drawn above the results, with a Try again button. The query stays. Try again dispatches wui-command-palette:retry, which onRetry answers."
|
|
6311
|
+
},
|
|
5579
6312
|
{
|
|
5580
6313
|
"name": "footer",
|
|
5581
6314
|
"type": "node",
|
|
@@ -5712,6 +6445,12 @@
|
|
|
5712
6445
|
"description": "Shows the library spinner in the input.",
|
|
5713
6446
|
"default": false
|
|
5714
6447
|
},
|
|
6448
|
+
{
|
|
6449
|
+
"name": "notice",
|
|
6450
|
+
"type": "node",
|
|
6451
|
+
"required": false,
|
|
6452
|
+
"description": "A quiet line drawn above the results, such as a limited-search notice."
|
|
6453
|
+
},
|
|
5715
6454
|
{
|
|
5716
6455
|
"name": "open",
|
|
5717
6456
|
"type": "boolean",
|
|
@@ -7544,6 +8283,18 @@
|
|
|
7544
8283
|
"required": false,
|
|
7545
8284
|
"description": "The share of the row the cell takes, by name: Quarter, Third, Half or TwoThirds of the twelve columns, Full (the default), or Fifth for five to a row on wide screens.",
|
|
7546
8285
|
"default": "Full"
|
|
8286
|
+
},
|
|
8287
|
+
{
|
|
8288
|
+
"name": "widgetId",
|
|
8289
|
+
"type": "string",
|
|
8290
|
+
"required": false,
|
|
8291
|
+
"description": "A stable id for the widget this cell shows. Required in an editable AppDashboardGrid, which orders, spans and hides the cell by it."
|
|
8292
|
+
},
|
|
8293
|
+
{
|
|
8294
|
+
"name": "widgetTitle",
|
|
8295
|
+
"type": "string",
|
|
8296
|
+
"required": false,
|
|
8297
|
+
"description": "The widget's name in the edit mode menus and announcements. It wins over the title the grid's widgets give; without either, the widget is named by its id."
|
|
7547
8298
|
}
|
|
7548
8299
|
],
|
|
7549
8300
|
"itemsTakeAction": [],
|
|
@@ -7579,6 +8330,73 @@
|
|
|
7579
8330
|
"required": false,
|
|
7580
8331
|
"description": "Extra classes on the grid.",
|
|
7581
8332
|
"default": ""
|
|
8333
|
+
},
|
|
8334
|
+
{
|
|
8335
|
+
"name": "editable",
|
|
8336
|
+
"type": "boolean",
|
|
8337
|
+
"required": false,
|
|
8338
|
+
"description": "Lets a person hide, show, move and reset the cells by mouse and keyboard. Each cell then needs a widgetId, and widgets, layout, onLayoutChange and onReset apply.",
|
|
8339
|
+
"default": false
|
|
8340
|
+
},
|
|
8341
|
+
{
|
|
8342
|
+
"name": "layout",
|
|
8343
|
+
"type": "array",
|
|
8344
|
+
"itemFields": [
|
|
8345
|
+
{
|
|
8346
|
+
"name": "hidden",
|
|
8347
|
+
"type": "boolean",
|
|
8348
|
+
"required": true,
|
|
8349
|
+
"description": "Whether the widget is hidden."
|
|
8350
|
+
},
|
|
8351
|
+
{
|
|
8352
|
+
"name": "id",
|
|
8353
|
+
"type": "string",
|
|
8354
|
+
"required": true,
|
|
8355
|
+
"description": "The widget id."
|
|
8356
|
+
},
|
|
8357
|
+
{
|
|
8358
|
+
"name": "span",
|
|
8359
|
+
"type": "number",
|
|
8360
|
+
"required": true,
|
|
8361
|
+
"description": "The span in columns: 3, 4, 5, 6, 8 or 12."
|
|
8362
|
+
}
|
|
8363
|
+
],
|
|
8364
|
+
"required": false,
|
|
8365
|
+
"description": "The saved layout, in order: each widget's id, its span in columns (3, 4, 5, 6, 8 or 12) and whether it is hidden. Editable grids only."
|
|
8366
|
+
},
|
|
8367
|
+
{
|
|
8368
|
+
"name": "widgets",
|
|
8369
|
+
"type": "array",
|
|
8370
|
+
"itemFields": [
|
|
8371
|
+
{
|
|
8372
|
+
"name": "id",
|
|
8373
|
+
"type": "string",
|
|
8374
|
+
"required": true,
|
|
8375
|
+
"description": "The widget id, the same as its cell's widgetId."
|
|
8376
|
+
},
|
|
8377
|
+
{
|
|
8378
|
+
"name": "span",
|
|
8379
|
+
"type": "enum",
|
|
8380
|
+
"enum": [
|
|
8381
|
+
"Fifth",
|
|
8382
|
+
"Full",
|
|
8383
|
+
"Half",
|
|
8384
|
+
"Quarter",
|
|
8385
|
+
"Third",
|
|
8386
|
+
"TwoThirds"
|
|
8387
|
+
],
|
|
8388
|
+
"required": true,
|
|
8389
|
+
"description": "The span a widget takes when the layout does not place it."
|
|
8390
|
+
},
|
|
8391
|
+
{
|
|
8392
|
+
"name": "title",
|
|
8393
|
+
"type": "string",
|
|
8394
|
+
"required": true,
|
|
8395
|
+
"description": "The name shown on the cell's controls and in the add menu."
|
|
8396
|
+
}
|
|
8397
|
+
],
|
|
8398
|
+
"required": false,
|
|
8399
|
+
"description": "The widgets the grid can show: id, the title a person sees, and the default span. Editable grids only."
|
|
7582
8400
|
}
|
|
7583
8401
|
],
|
|
7584
8402
|
"itemsTakeAction": [],
|
|
@@ -7587,7 +8405,8 @@
|
|
|
7587
8405
|
"usage": {
|
|
7588
8406
|
"when": [
|
|
7589
8407
|
"A page of KPI tiles and chart cards that should line up and stack on a phone.",
|
|
7590
|
-
"A layout the page decides
|
|
8408
|
+
"A layout the page decides.",
|
|
8409
|
+
"A layout a person arranges, which the product saves: turn on editable and save layout in onLayoutChange."
|
|
7591
8410
|
],
|
|
7592
8411
|
"whenNot": [
|
|
7593
8412
|
{
|
|
@@ -7607,6 +8426,65 @@
|
|
|
7607
8426
|
]
|
|
7608
8427
|
}
|
|
7609
8428
|
},
|
|
8429
|
+
{
|
|
8430
|
+
"name": "AppDashboardHeader",
|
|
8431
|
+
"marker": "AppDashboardHeader",
|
|
8432
|
+
"acceptsChildren": true,
|
|
8433
|
+
"props": [
|
|
8434
|
+
{
|
|
8435
|
+
"name": "className",
|
|
8436
|
+
"type": "string",
|
|
8437
|
+
"required": false,
|
|
8438
|
+
"description": "Extra classes on the header element.",
|
|
8439
|
+
"default": ""
|
|
8440
|
+
},
|
|
8441
|
+
{
|
|
8442
|
+
"name": "date",
|
|
8443
|
+
"type": "object",
|
|
8444
|
+
"required": false,
|
|
8445
|
+
"description": "The day shown after the greeting, read in India Standard Time."
|
|
8446
|
+
},
|
|
8447
|
+
{
|
|
8448
|
+
"name": "greeting",
|
|
8449
|
+
"type": "string",
|
|
8450
|
+
"required": true,
|
|
8451
|
+
"description": "The greeting, rendered as the header's heading (for example Good morning, Asha)."
|
|
8452
|
+
},
|
|
8453
|
+
{
|
|
8454
|
+
"name": "updatedDateTime",
|
|
8455
|
+
"type": "object",
|
|
8456
|
+
"required": false,
|
|
8457
|
+
"description": "The moment shown as Updated hh:mm am IST, read in India Standard Time."
|
|
8458
|
+
}
|
|
8459
|
+
],
|
|
8460
|
+
"itemsTakeAction": [],
|
|
8461
|
+
"takesAction": [],
|
|
8462
|
+
"source": "@webority/ui-react",
|
|
8463
|
+
"role": "title",
|
|
8464
|
+
"usage": {
|
|
8465
|
+
"when": [
|
|
8466
|
+
"A dashboard opens with a greeting for the signed-in person, the day and when the figures were last updated.",
|
|
8467
|
+
"A dashboard needs one period control, such as Last 30 days, at the top right of its first line."
|
|
8468
|
+
],
|
|
8469
|
+
"whenNot": [
|
|
8470
|
+
{
|
|
8471
|
+
"text": "A page title with actions and no greeting or date.",
|
|
8472
|
+
"instead": "AppPageHeader"
|
|
8473
|
+
},
|
|
8474
|
+
{
|
|
8475
|
+
"text": "A period control with no greeting or date above it.",
|
|
8476
|
+
"instead": "AppSegmented"
|
|
8477
|
+
}
|
|
8478
|
+
],
|
|
8479
|
+
"do": [],
|
|
8480
|
+
"dont": [],
|
|
8481
|
+
"a11y": [
|
|
8482
|
+
"The greeting is the page's main heading.",
|
|
8483
|
+
"The date and the updated time sit in one paragraph after the greeting, as plain text.",
|
|
8484
|
+
"Under 576 px the period control drops onto its own row below the greeting, in the same reading order."
|
|
8485
|
+
]
|
|
8486
|
+
}
|
|
8487
|
+
},
|
|
7610
8488
|
{
|
|
7611
8489
|
"name": "AppDataTable",
|
|
7612
8490
|
"marker": "AppDataTable",
|
|
@@ -7975,8 +8853,8 @@
|
|
|
7975
8853
|
"hover-menu"
|
|
7976
8854
|
],
|
|
7977
8855
|
"required": false,
|
|
7978
|
-
"description": "Where the row actions show: hover fades them in on row hover and focus, and the menu shows on touch; hover-menu keeps the menu visible
|
|
7979
|
-
"default": "
|
|
8856
|
+
"description": "Where the row actions show: column keeps the icons always visible; hover fades them in on row hover and focus, and the menu shows on touch; hover-menu keeps the menu visible.",
|
|
8857
|
+
"default": "column"
|
|
7980
8858
|
},
|
|
7981
8859
|
{
|
|
7982
8860
|
"name": "rowDrag",
|
|
@@ -7991,6 +8869,31 @@
|
|
|
7991
8869
|
"required": false,
|
|
7992
8870
|
"description": "The row objects shown in the table, one per row, read through each column's key."
|
|
7993
8871
|
},
|
|
8872
|
+
{
|
|
8873
|
+
"name": "saveBusyLabel",
|
|
8874
|
+
"type": "string",
|
|
8875
|
+
"required": false,
|
|
8876
|
+
"description": "The word for a saving row. Unset, the built-in text. Needs saveLabels."
|
|
8877
|
+
},
|
|
8878
|
+
{
|
|
8879
|
+
"name": "saveDoneLabel",
|
|
8880
|
+
"type": "string",
|
|
8881
|
+
"required": false,
|
|
8882
|
+
"description": "The word for a saved row. Unset, the built-in text. Needs saveLabels."
|
|
8883
|
+
},
|
|
8884
|
+
{
|
|
8885
|
+
"name": "saveFailedLabel",
|
|
8886
|
+
"type": "string",
|
|
8887
|
+
"required": false,
|
|
8888
|
+
"description": "The word for a row whose save failed. Unset, the built-in text. Needs saveLabels."
|
|
8889
|
+
},
|
|
8890
|
+
{
|
|
8891
|
+
"name": "saveLabels",
|
|
8892
|
+
"type": "boolean",
|
|
8893
|
+
"required": false,
|
|
8894
|
+
"description": "Shows a save status word in each row's first cell: busy with a spinner while it saves, done with a tick once saved, failed in danger text. A busy row's actions are hidden.",
|
|
8895
|
+
"default": false
|
|
8896
|
+
},
|
|
7994
8897
|
{
|
|
7995
8898
|
"name": "selectable",
|
|
7996
8899
|
"type": "boolean",
|
|
@@ -8081,6 +8984,20 @@
|
|
|
8081
8984
|
"description": "Pins the first column, and the select or expand column before it, while a wide table scrolls sideways.",
|
|
8082
8985
|
"default": false
|
|
8083
8986
|
},
|
|
8987
|
+
{
|
|
8988
|
+
"name": "stickyHeader",
|
|
8989
|
+
"type": "boolean",
|
|
8990
|
+
"required": false,
|
|
8991
|
+
"description": "Pins the column header to the top of the page while it scrolls, directly under the top bar and any sticky page header or tabs above it. A header pinned to the page cannot sit in a sideways scroll box, so the table wrap clips instead of scrolling, and stickyHeader is refused together with stickyFirstColumn, stickyActions, maxHeight or virtual, which need the wrap to scroll. Razor: sticky-header.",
|
|
8992
|
+
"default": false
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
"name": "stickyOffset",
|
|
8996
|
+
"type": "number",
|
|
8997
|
+
"required": false,
|
|
8998
|
+
"description": "Extra gap in px between the layers above and the pinned header, a whole number from 0. Only with stickyHeader; without it, or negative, it is refused. Razor: sticky-offset.",
|
|
8999
|
+
"default": 0
|
|
9000
|
+
},
|
|
8084
9001
|
{
|
|
8085
9002
|
"name": "striped",
|
|
8086
9003
|
"type": "boolean",
|
|
@@ -8425,6 +9342,15 @@
|
|
|
8425
9342
|
"type": "string",
|
|
8426
9343
|
"required": false,
|
|
8427
9344
|
"description": "ISO date string."
|
|
9345
|
+
},
|
|
9346
|
+
{
|
|
9347
|
+
"name": "variant",
|
|
9348
|
+
"type": "enum",
|
|
9349
|
+
"enum": [
|
|
9350
|
+
"underline"
|
|
9351
|
+
],
|
|
9352
|
+
"required": false,
|
|
9353
|
+
"description": "Underline keeps only a line under the field."
|
|
8428
9354
|
}
|
|
8429
9355
|
],
|
|
8430
9356
|
"itemsTakeAction": [],
|
|
@@ -8720,6 +9646,15 @@
|
|
|
8720
9646
|
"type": "string",
|
|
8721
9647
|
"required": false,
|
|
8722
9648
|
"description": "IANA time zone the quick ranges are resolved in, for example Asia/Kolkata or America/New_York. Unset, it is India Standard Time (Asia/Kolkata)."
|
|
9649
|
+
},
|
|
9650
|
+
{
|
|
9651
|
+
"name": "variant",
|
|
9652
|
+
"type": "enum",
|
|
9653
|
+
"enum": [
|
|
9654
|
+
"underline"
|
|
9655
|
+
],
|
|
9656
|
+
"required": false,
|
|
9657
|
+
"description": "Underline keeps only a line under the field."
|
|
8723
9658
|
}
|
|
8724
9659
|
],
|
|
8725
9660
|
"itemsTakeAction": [],
|
|
@@ -9050,6 +9985,12 @@
|
|
|
9050
9985
|
"type": "node",
|
|
9051
9986
|
"required": false,
|
|
9052
9987
|
"description": "Optional heading above the grid."
|
|
9988
|
+
},
|
|
9989
|
+
{
|
|
9990
|
+
"name": "titleAction",
|
|
9991
|
+
"type": "node",
|
|
9992
|
+
"required": false,
|
|
9993
|
+
"description": "Drawn at the right of the title row, for example a Change link. Unset, the title row is unchanged."
|
|
9053
9994
|
}
|
|
9054
9995
|
],
|
|
9055
9996
|
"itemsTakeAction": [
|
|
@@ -9637,7 +10578,7 @@
|
|
|
9637
10578
|
"name": "disabledReason",
|
|
9638
10579
|
"type": "string",
|
|
9639
10580
|
"required": false,
|
|
9640
|
-
"description": "Why the row is disabled.
|
|
10581
|
+
"description": "Why the row is disabled. Printed under the label, read by screen readers, and shown as a tooltip on hover and focus. Needs disabled."
|
|
9641
10582
|
},
|
|
9642
10583
|
{
|
|
9643
10584
|
"name": "divider",
|
|
@@ -9808,10 +10749,11 @@
|
|
|
9808
10749
|
"name": "toggleVariant",
|
|
9809
10750
|
"type": "enum",
|
|
9810
10751
|
"enum": [
|
|
9811
|
-
"neutral"
|
|
10752
|
+
"neutral",
|
|
10753
|
+
"outline"
|
|
9812
10754
|
],
|
|
9813
10755
|
"required": false,
|
|
9814
|
-
"description": "neutral: a custom trigger that keeps the surrounding font and colour, with a muted fill on hover and while open. Needs trigger."
|
|
10756
|
+
"description": "neutral: a custom trigger that keeps the surrounding font and colour, with a muted fill on hover and while open. outline: a custom trigger drawn as a form field, with an input's height, border and radius. Needs trigger."
|
|
9815
10757
|
},
|
|
9816
10758
|
{
|
|
9817
10759
|
"name": "trigger",
|
|
@@ -10343,6 +11285,13 @@
|
|
|
10343
11285
|
"description": "The text of the button that adds an empty line at the end.",
|
|
10344
11286
|
"default": "Add line"
|
|
10345
11287
|
},
|
|
11288
|
+
{
|
|
11289
|
+
"name": "cancelLabel",
|
|
11290
|
+
"type": "string",
|
|
11291
|
+
"required": false,
|
|
11292
|
+
"description": "The text of the Cancel button in the actions column; its accessible name is discardLabel.",
|
|
11293
|
+
"default": "Cancel"
|
|
11294
|
+
},
|
|
10346
11295
|
{
|
|
10347
11296
|
"name": "className",
|
|
10348
11297
|
"type": "string",
|
|
@@ -10564,6 +11513,20 @@
|
|
|
10564
11513
|
"description": "The keyboard legend for Ctrl and Delete; shown only with onRemoveRow.",
|
|
10565
11514
|
"default": "Remove line"
|
|
10566
11515
|
},
|
|
11516
|
+
{
|
|
11517
|
+
"name": "rowActions",
|
|
11518
|
+
"type": "boolean",
|
|
11519
|
+
"required": false,
|
|
11520
|
+
"description": "Adds a trailing column: a changed or failed line shows Save and Cancel, a saving line shows Save disabled, and a saved or clean line shows nothing. Needs onCommitRow.",
|
|
11521
|
+
"default": false
|
|
11522
|
+
},
|
|
11523
|
+
{
|
|
11524
|
+
"name": "rowActionsLabel",
|
|
11525
|
+
"type": "string",
|
|
11526
|
+
"required": false,
|
|
11527
|
+
"description": "The visually hidden header of the actions column.",
|
|
11528
|
+
"default": "Actions"
|
|
11529
|
+
},
|
|
10567
11530
|
{
|
|
10568
11531
|
"name": "rows",
|
|
10569
11532
|
"type": "array",
|
|
@@ -11593,6 +12556,13 @@
|
|
|
11593
12556
|
"description": "Shows a download button in the toolbar.",
|
|
11594
12557
|
"default": false
|
|
11595
12558
|
},
|
|
12559
|
+
{
|
|
12560
|
+
"name": "fill",
|
|
12561
|
+
"type": "boolean",
|
|
12562
|
+
"required": false,
|
|
12563
|
+
"description": "Fills the height from the viewer's top edge to the bottom of the window, never under 420 px, and follows a resize or a change above it. A style height still wins.",
|
|
12564
|
+
"default": false
|
|
12565
|
+
},
|
|
11596
12566
|
{
|
|
11597
12567
|
"name": "name",
|
|
11598
12568
|
"type": "string",
|
|
@@ -12167,6 +13137,17 @@
|
|
|
12167
13137
|
"description": "Extra class names added to the form element.",
|
|
12168
13138
|
"default": ""
|
|
12169
13139
|
},
|
|
13140
|
+
{
|
|
13141
|
+
"name": "errorSummary",
|
|
13142
|
+
"type": "enum",
|
|
13143
|
+
"enum": [
|
|
13144
|
+
"status",
|
|
13145
|
+
"top"
|
|
13146
|
+
],
|
|
13147
|
+
"required": false,
|
|
13148
|
+
"description": "top draws a failed submit's field errors under their fields. status also counts the failing fields and links each section to its first one, for AppFormActions to show in its status slot. Form-wide errors stay at the top in both.",
|
|
13149
|
+
"default": "top"
|
|
13150
|
+
},
|
|
12170
13151
|
{
|
|
12171
13152
|
"name": "fieldErrors",
|
|
12172
13153
|
"type": "object",
|
|
@@ -12246,11 +13227,56 @@
|
|
|
12246
13227
|
"description": "Extra class names added to the root element.",
|
|
12247
13228
|
"default": ""
|
|
12248
13229
|
},
|
|
13230
|
+
{
|
|
13231
|
+
"name": "invalidCount",
|
|
13232
|
+
"type": "number",
|
|
13233
|
+
"required": false,
|
|
13234
|
+
"description": "How many fields need attention. Needed when saveState is invalid."
|
|
13235
|
+
},
|
|
13236
|
+
{
|
|
13237
|
+
"name": "saveState",
|
|
13238
|
+
"type": "enum",
|
|
13239
|
+
"enum": [
|
|
13240
|
+
"dirty",
|
|
13241
|
+
"invalid",
|
|
13242
|
+
"pristine",
|
|
13243
|
+
"saved",
|
|
13244
|
+
"saving"
|
|
13245
|
+
],
|
|
13246
|
+
"required": false,
|
|
13247
|
+
"description": "The form's save state as a standard sentence with its tone and icon. Needs align end. Not with status."
|
|
13248
|
+
},
|
|
13249
|
+
{
|
|
13250
|
+
"name": "savedAt",
|
|
13251
|
+
"type": "stringOrNumber",
|
|
13252
|
+
"required": false,
|
|
13253
|
+
"description": "When the form was saved, as an ISO string with its zone (Z or an offset) or epoch milliseconds; write a Date as an ISO string. Shown as HH:mm IST. Needed when saveState is saved."
|
|
13254
|
+
},
|
|
13255
|
+
{
|
|
13256
|
+
"name": "status",
|
|
13257
|
+
"type": "node",
|
|
13258
|
+
"required": false,
|
|
13259
|
+
"description": "Text, an icon or any content at the start of the bar. Needs align end. Not with saveState."
|
|
13260
|
+
},
|
|
13261
|
+
{
|
|
13262
|
+
"name": "statusTone",
|
|
13263
|
+
"type": "enum",
|
|
13264
|
+
"enum": [
|
|
13265
|
+
"danger",
|
|
13266
|
+
"info",
|
|
13267
|
+
"neutral",
|
|
13268
|
+
"success",
|
|
13269
|
+
"warning"
|
|
13270
|
+
],
|
|
13271
|
+
"required": false,
|
|
13272
|
+
"description": "The tone of the status.",
|
|
13273
|
+
"default": "neutral"
|
|
13274
|
+
},
|
|
12249
13275
|
{
|
|
12250
13276
|
"name": "sticky",
|
|
12251
|
-
"type": "
|
|
13277
|
+
"type": "any",
|
|
12252
13278
|
"required": false,
|
|
12253
|
-
"description": "
|
|
13279
|
+
"description": "False (default) leaves the bar inline; true sticks the actions to the bottom of the viewport with a border and background; surface pins them to the bottom of their own card or panel.",
|
|
12254
13280
|
"default": false
|
|
12255
13281
|
}
|
|
12256
13282
|
],
|
|
@@ -12261,7 +13287,8 @@
|
|
|
12261
13287
|
"when": [
|
|
12262
13288
|
"A form has action buttons at the end (submit, save, cancel, etc.).",
|
|
12263
13289
|
"A form is longer than one viewport and needs actions to stay visible (use sticky).",
|
|
12264
|
-
"You need consistent button alignment across all forms (trailing, leading, or space-between)."
|
|
13290
|
+
"You need consistent button alignment across all forms (trailing, leading, or space-between).",
|
|
13291
|
+
"A long form in a card needs its actions pinned to the card, with a save state beside them (use sticky surface and saveState)."
|
|
12265
13292
|
],
|
|
12266
13293
|
"whenNot": [
|
|
12267
13294
|
{
|
|
@@ -12282,7 +13309,8 @@
|
|
|
12282
13309
|
"a11y": [
|
|
12283
13310
|
"Renders a plain div with the form-actions class. It adds no role or label, so each button keeps its own accessible name.",
|
|
12284
13311
|
"The tab order follows the order of the children; align changes only where they sit, not their order.",
|
|
12285
|
-
"Extra attributes such as aria-label pass through to the div."
|
|
13312
|
+
"Extra attributes such as aria-label pass through to the div.",
|
|
13313
|
+
"The status slot is a polite live region, so a change of save state or error count is announced without moving focus."
|
|
12286
13314
|
]
|
|
12287
13315
|
}
|
|
12288
13316
|
},
|
|
@@ -12325,6 +13353,13 @@
|
|
|
12325
13353
|
"required": false,
|
|
12326
13354
|
"description": "Number of columns, 1 to 12.",
|
|
12327
13355
|
"default": 2
|
|
13356
|
+
},
|
|
13357
|
+
{
|
|
13358
|
+
"name": "reserveMessage",
|
|
13359
|
+
"type": "boolean",
|
|
13360
|
+
"required": false,
|
|
13361
|
+
"description": "Keeps one message line of room under each field, so a help line or an error never moves the row below.",
|
|
13362
|
+
"default": false
|
|
12328
13363
|
}
|
|
12329
13364
|
],
|
|
12330
13365
|
"itemsTakeAction": [],
|
|
@@ -12691,6 +13726,12 @@
|
|
|
12691
13726
|
"marker": "AppGantt",
|
|
12692
13727
|
"acceptsChildren": false,
|
|
12693
13728
|
"props": [
|
|
13729
|
+
{
|
|
13730
|
+
"name": "clashLabel",
|
|
13731
|
+
"type": "string",
|
|
13732
|
+
"required": false,
|
|
13733
|
+
"description": "Written in a clash band where two bars of one row overlap. Defaults to the built-in copy."
|
|
13734
|
+
},
|
|
12694
13735
|
{
|
|
12695
13736
|
"name": "className",
|
|
12696
13737
|
"type": "string",
|
|
@@ -12698,6 +13739,12 @@
|
|
|
12698
13739
|
"description": "Extra class names on the plan.",
|
|
12699
13740
|
"default": ""
|
|
12700
13741
|
},
|
|
13742
|
+
{
|
|
13743
|
+
"name": "countLabel",
|
|
13744
|
+
"type": "string",
|
|
13745
|
+
"required": false,
|
|
13746
|
+
"description": "Names the count row of bars (how many are away each day). Defaults to the built-in copy."
|
|
13747
|
+
},
|
|
12701
13748
|
{
|
|
12702
13749
|
"name": "emptyText",
|
|
12703
13750
|
"type": "string",
|
|
@@ -12728,6 +13775,12 @@
|
|
|
12728
13775
|
"required": false,
|
|
12729
13776
|
"description": "First day of the window, YYYY-MM-DD. Absent: the window the zoom picks around today. Controlled when given."
|
|
12730
13777
|
},
|
|
13778
|
+
{
|
|
13779
|
+
"name": "holidays",
|
|
13780
|
+
"type": "array",
|
|
13781
|
+
"required": false,
|
|
13782
|
+
"description": "Days shaded like weekends, YYYY-MM-DD. Lanes layout and day zoom."
|
|
13783
|
+
},
|
|
12731
13784
|
{
|
|
12732
13785
|
"name": "layout",
|
|
12733
13786
|
"type": "enum",
|
|
@@ -12756,6 +13809,12 @@
|
|
|
12756
13809
|
"name": "rows",
|
|
12757
13810
|
"type": "array",
|
|
12758
13811
|
"itemFields": [
|
|
13812
|
+
{
|
|
13813
|
+
"name": "bars",
|
|
13814
|
+
"type": "array",
|
|
13815
|
+
"required": false,
|
|
13816
|
+
"description": "Lanes layout only: several bars on the row, each { start, end, label, tone, half? }. The row is drawn even with no bars. Excludes start, end and dependsOn. Overlapping bars share lines and mark a clash."
|
|
13817
|
+
},
|
|
12759
13818
|
{
|
|
12760
13819
|
"name": "dependsOn",
|
|
12761
13820
|
"type": "array",
|
|
@@ -12854,6 +13913,16 @@
|
|
|
12854
13913
|
"required": false,
|
|
12855
13914
|
"description": "Today, YYYY-MM-DD. Absent: today in Asia/Kolkata."
|
|
12856
13915
|
},
|
|
13916
|
+
{
|
|
13917
|
+
"name": "weeks",
|
|
13918
|
+
"type": "enum",
|
|
13919
|
+
"enum": [
|
|
13920
|
+
1,
|
|
13921
|
+
2
|
|
13922
|
+
],
|
|
13923
|
+
"required": false,
|
|
13924
|
+
"description": "A window of one or two weeks, drawn by day. Needs zoom week and layout lanes."
|
|
13925
|
+
},
|
|
12857
13926
|
{
|
|
12858
13927
|
"name": "zoom",
|
|
12859
13928
|
"type": "enum",
|
|
@@ -14110,6 +15179,17 @@
|
|
|
14110
15179
|
"required": false,
|
|
14111
15180
|
"description": "The character cap. The count turns red as the cap is approached."
|
|
14112
15181
|
},
|
|
15182
|
+
{
|
|
15183
|
+
"name": "messageRoom",
|
|
15184
|
+
"type": "enum",
|
|
15185
|
+
"enum": [
|
|
15186
|
+
"none",
|
|
15187
|
+
"reserve"
|
|
15188
|
+
],
|
|
15189
|
+
"required": false,
|
|
15190
|
+
"description": "Where the message line under the field sits. Reserve keeps the line even when empty, so an error never moves the form. None draws it only while an error or a hint shows, which closes the gap between stacked fields.",
|
|
15191
|
+
"default": "reserve"
|
|
15192
|
+
},
|
|
14113
15193
|
{
|
|
14114
15194
|
"name": "monospace",
|
|
14115
15195
|
"type": "boolean",
|
|
@@ -14633,6 +15713,16 @@
|
|
|
14633
15713
|
"required": false,
|
|
14634
15714
|
"description": "Whether a collapsible column starts folded."
|
|
14635
15715
|
},
|
|
15716
|
+
{
|
|
15717
|
+
"name": "collapsedLayout",
|
|
15718
|
+
"type": "enum",
|
|
15719
|
+
"enum": [
|
|
15720
|
+
"rail",
|
|
15721
|
+
"strip"
|
|
15722
|
+
],
|
|
15723
|
+
"required": false,
|
|
15724
|
+
"description": "How a folded column looks: rail is a narrow strip of letters, strip reads its label across with the count and total."
|
|
15725
|
+
},
|
|
14636
15726
|
{
|
|
14637
15727
|
"name": "collapsible",
|
|
14638
15728
|
"type": "boolean",
|
|
@@ -15016,6 +16106,24 @@
|
|
|
15016
16106
|
"description": "Extra classes on the label.",
|
|
15017
16107
|
"default": ""
|
|
15018
16108
|
},
|
|
16109
|
+
{
|
|
16110
|
+
"name": "labelPosition",
|
|
16111
|
+
"type": "enum",
|
|
16112
|
+
"enum": [
|
|
16113
|
+
"above",
|
|
16114
|
+
"below"
|
|
16115
|
+
],
|
|
16116
|
+
"required": false,
|
|
16117
|
+
"description": "Puts the label over the figure, or under it.",
|
|
16118
|
+
"default": "above"
|
|
16119
|
+
},
|
|
16120
|
+
{
|
|
16121
|
+
"name": "loading",
|
|
16122
|
+
"type": "boolean",
|
|
16123
|
+
"required": false,
|
|
16124
|
+
"description": "Shows a placeholder in place of the figure while the data loads; the caption, delta and sparkline are hidden.",
|
|
16125
|
+
"default": false
|
|
16126
|
+
},
|
|
15019
16127
|
{
|
|
15020
16128
|
"name": "size",
|
|
15021
16129
|
"type": "enum",
|
|
@@ -15041,6 +16149,12 @@
|
|
|
15041
16149
|
"description": "Extra classes on the sparkline.",
|
|
15042
16150
|
"default": ""
|
|
15043
16151
|
},
|
|
16152
|
+
{
|
|
16153
|
+
"name": "sparklineLabel",
|
|
16154
|
+
"type": "string",
|
|
16155
|
+
"required": false,
|
|
16156
|
+
"description": "The accessible name of the sparkline, passed as its label."
|
|
16157
|
+
},
|
|
15044
16158
|
{
|
|
15045
16159
|
"name": "stacked",
|
|
15046
16160
|
"type": "boolean",
|
|
@@ -15052,7 +16166,7 @@
|
|
|
15052
16166
|
"name": "value",
|
|
15053
16167
|
"type": "node",
|
|
15054
16168
|
"required": true,
|
|
15055
|
-
"description": "The number itself, already formatted."
|
|
16169
|
+
"description": "The number itself, already formatted. A null value shows No data."
|
|
15056
16170
|
},
|
|
15057
16171
|
{
|
|
15058
16172
|
"name": "valueClassName",
|
|
@@ -15674,6 +16788,118 @@
|
|
|
15674
16788
|
]
|
|
15675
16789
|
}
|
|
15676
16790
|
},
|
|
16791
|
+
{
|
|
16792
|
+
"name": "AppListCard",
|
|
16793
|
+
"marker": "AppListCard",
|
|
16794
|
+
"acceptsChildren": true,
|
|
16795
|
+
"props": [
|
|
16796
|
+
{
|
|
16797
|
+
"name": "actions",
|
|
16798
|
+
"type": "node",
|
|
16799
|
+
"required": false,
|
|
16800
|
+
"description": "The list's actions, right-aligned in the header."
|
|
16801
|
+
},
|
|
16802
|
+
{
|
|
16803
|
+
"name": "className",
|
|
16804
|
+
"type": "string",
|
|
16805
|
+
"required": false,
|
|
16806
|
+
"description": "Added to the card's root element.",
|
|
16807
|
+
"default": ""
|
|
16808
|
+
},
|
|
16809
|
+
{
|
|
16810
|
+
"name": "count",
|
|
16811
|
+
"type": "number",
|
|
16812
|
+
"required": false,
|
|
16813
|
+
"description": "How many records the list holds, shown beside the heading. Not set shows none."
|
|
16814
|
+
},
|
|
16815
|
+
{
|
|
16816
|
+
"name": "filters",
|
|
16817
|
+
"type": "node",
|
|
16818
|
+
"required": false,
|
|
16819
|
+
"description": "The filter row between the header and the body."
|
|
16820
|
+
},
|
|
16821
|
+
{
|
|
16822
|
+
"name": "padding",
|
|
16823
|
+
"type": "enum",
|
|
16824
|
+
"enum": [
|
|
16825
|
+
"md",
|
|
16826
|
+
"none"
|
|
16827
|
+
],
|
|
16828
|
+
"required": false,
|
|
16829
|
+
"description": "none: the table runs edge to edge. md: body padding, for a list that is not a table.",
|
|
16830
|
+
"default": "none"
|
|
16831
|
+
},
|
|
16832
|
+
{
|
|
16833
|
+
"name": "saveState",
|
|
16834
|
+
"type": "enum",
|
|
16835
|
+
"enum": [
|
|
16836
|
+
"error",
|
|
16837
|
+
"saved",
|
|
16838
|
+
"saving"
|
|
16839
|
+
],
|
|
16840
|
+
"required": false,
|
|
16841
|
+
"description": "The list's save state, drawn at the end of the header the way a data table draws a row save state: busy with a spinner, done with a tick, or failed. Not set draws nothing; any other value throws."
|
|
16842
|
+
},
|
|
16843
|
+
{
|
|
16844
|
+
"name": "subtitle",
|
|
16845
|
+
"type": "string",
|
|
16846
|
+
"required": false,
|
|
16847
|
+
"description": "A line under the heading."
|
|
16848
|
+
},
|
|
16849
|
+
{
|
|
16850
|
+
"name": "title",
|
|
16851
|
+
"type": "string",
|
|
16852
|
+
"required": false,
|
|
16853
|
+
"description": "The list's heading."
|
|
16854
|
+
}
|
|
16855
|
+
],
|
|
16856
|
+
"itemsTakeAction": [],
|
|
16857
|
+
"takesAction": [],
|
|
16858
|
+
"source": "@webority/ui-react",
|
|
16859
|
+
"usage": {
|
|
16860
|
+
"when": [
|
|
16861
|
+
"A page lists records and needs the heading, count, actions and table to look the same as every other list."
|
|
16862
|
+
],
|
|
16863
|
+
"whenNot": [
|
|
16864
|
+
{
|
|
16865
|
+
"text": "The card groups one object, not a list of records.",
|
|
16866
|
+
"instead": "AppCard"
|
|
16867
|
+
}
|
|
16868
|
+
],
|
|
16869
|
+
"do": [
|
|
16870
|
+
{
|
|
16871
|
+
"title": "Put the table in the card",
|
|
16872
|
+
"note": "The table runs edge to edge, so the card holds it with no padding.",
|
|
16873
|
+
"example": [
|
|
16874
|
+
{
|
|
16875
|
+
"component": "AppListCard",
|
|
16876
|
+
"props": {
|
|
16877
|
+
"title": "Tickets",
|
|
16878
|
+
"count": 2
|
|
16879
|
+
}
|
|
16880
|
+
}
|
|
16881
|
+
]
|
|
16882
|
+
}
|
|
16883
|
+
],
|
|
16884
|
+
"dont": [
|
|
16885
|
+
{
|
|
16886
|
+
"title": "Put the table in the card",
|
|
16887
|
+
"note": "A card inside a list card repeats the frame; use padding md for plain content instead.",
|
|
16888
|
+
"example": [
|
|
16889
|
+
{
|
|
16890
|
+
"component": "AppListCard",
|
|
16891
|
+
"props": {
|
|
16892
|
+
"title": "Notes"
|
|
16893
|
+
}
|
|
16894
|
+
}
|
|
16895
|
+
]
|
|
16896
|
+
}
|
|
16897
|
+
],
|
|
16898
|
+
"a11y": [
|
|
16899
|
+
"The count is text inside the heading, so a screen reader reads it with the title."
|
|
16900
|
+
]
|
|
16901
|
+
}
|
|
16902
|
+
},
|
|
15677
16903
|
{
|
|
15678
16904
|
"name": "AppLoadMore",
|
|
15679
16905
|
"marker": "AppLoadMore",
|
|
@@ -16014,6 +17240,15 @@
|
|
|
16014
17240
|
"type": "string",
|
|
16015
17241
|
"required": false,
|
|
16016
17242
|
"description": "The stored value, plain text with each mention written as @[Asha Rao](u-12)."
|
|
17243
|
+
},
|
|
17244
|
+
{
|
|
17245
|
+
"name": "variant",
|
|
17246
|
+
"type": "enum",
|
|
17247
|
+
"enum": [
|
|
17248
|
+
"underline"
|
|
17249
|
+
],
|
|
17250
|
+
"required": false,
|
|
17251
|
+
"description": "Underline keeps only a line under the field."
|
|
16017
17252
|
}
|
|
16018
17253
|
],
|
|
16019
17254
|
"itemsTakeAction": [],
|
|
@@ -16329,6 +17564,138 @@
|
|
|
16329
17564
|
]
|
|
16330
17565
|
}
|
|
16331
17566
|
},
|
|
17567
|
+
{
|
|
17568
|
+
"name": "AppMiniCalendar",
|
|
17569
|
+
"marker": "AppMiniCalendar",
|
|
17570
|
+
"acceptsChildren": false,
|
|
17571
|
+
"props": [
|
|
17572
|
+
{
|
|
17573
|
+
"name": "className",
|
|
17574
|
+
"type": "string",
|
|
17575
|
+
"required": false,
|
|
17576
|
+
"description": "Classes for the root element.",
|
|
17577
|
+
"default": ""
|
|
17578
|
+
},
|
|
17579
|
+
{
|
|
17580
|
+
"name": "firstDay",
|
|
17581
|
+
"type": "enum",
|
|
17582
|
+
"enum": [
|
|
17583
|
+
"monday",
|
|
17584
|
+
"sunday"
|
|
17585
|
+
],
|
|
17586
|
+
"required": false,
|
|
17587
|
+
"description": "The first day of the week.",
|
|
17588
|
+
"default": "monday"
|
|
17589
|
+
},
|
|
17590
|
+
{
|
|
17591
|
+
"name": "label",
|
|
17592
|
+
"type": "string",
|
|
17593
|
+
"required": false,
|
|
17594
|
+
"description": "The accessible name of the navigator.",
|
|
17595
|
+
"default": "Calendar"
|
|
17596
|
+
},
|
|
17597
|
+
{
|
|
17598
|
+
"name": "markers",
|
|
17599
|
+
"type": "any",
|
|
17600
|
+
"required": false,
|
|
17601
|
+
"description": "Days that carry a marker: an array of { date, tone: neutral or warning, label }. A warning marker is larger, for a clash."
|
|
17602
|
+
},
|
|
17603
|
+
{
|
|
17604
|
+
"name": "month",
|
|
17605
|
+
"type": "string",
|
|
17606
|
+
"required": false,
|
|
17607
|
+
"description": "The month shown, as YYYY-MM. Default: the current month in India Standard Time."
|
|
17608
|
+
},
|
|
17609
|
+
{
|
|
17610
|
+
"name": "rangeEnd",
|
|
17611
|
+
"type": "string",
|
|
17612
|
+
"required": false,
|
|
17613
|
+
"description": "The last day of the range to tint, as YYYY-MM-DD."
|
|
17614
|
+
},
|
|
17615
|
+
{
|
|
17616
|
+
"name": "rangeStart",
|
|
17617
|
+
"type": "string",
|
|
17618
|
+
"required": false,
|
|
17619
|
+
"description": "The first day of the range to tint, as YYYY-MM-DD."
|
|
17620
|
+
},
|
|
17621
|
+
{
|
|
17622
|
+
"name": "value",
|
|
17623
|
+
"type": "string",
|
|
17624
|
+
"required": false,
|
|
17625
|
+
"description": "The selected day, as YYYY-MM-DD."
|
|
17626
|
+
}
|
|
17627
|
+
],
|
|
17628
|
+
"itemsTakeAction": [],
|
|
17629
|
+
"takesAction": [],
|
|
17630
|
+
"source": "@webority/ui-react",
|
|
17631
|
+
"usage": {
|
|
17632
|
+
"when": [
|
|
17633
|
+
"A page shows an open month navigator beside a list, with days that carry a busy or clash marker.",
|
|
17634
|
+
"The Agenda view's side column of the team calendar."
|
|
17635
|
+
],
|
|
17636
|
+
"whenNot": [
|
|
17637
|
+
{
|
|
17638
|
+
"text": "A person picks a date from a field, in a popover.",
|
|
17639
|
+
"instead": "AppDatePicker"
|
|
17640
|
+
},
|
|
17641
|
+
{
|
|
17642
|
+
"text": "A full calendar of events.",
|
|
17643
|
+
"instead": "AppCalendar"
|
|
17644
|
+
},
|
|
17645
|
+
{
|
|
17646
|
+
"text": "A range picked by a person.",
|
|
17647
|
+
"instead": "AppDateRangePicker"
|
|
17648
|
+
}
|
|
17649
|
+
],
|
|
17650
|
+
"do": [
|
|
17651
|
+
{
|
|
17652
|
+
"title": "Put the reason for a marker in its label",
|
|
17653
|
+
"note": "The label is read with the date, so a marker that says only 'busy' tells a screen reader nothing.",
|
|
17654
|
+
"example": [
|
|
17655
|
+
{
|
|
17656
|
+
"component": "AppMiniCalendar",
|
|
17657
|
+
"props": {
|
|
17658
|
+
"month": "2026-11",
|
|
17659
|
+
"markers": [
|
|
17660
|
+
{
|
|
17661
|
+
"date": "2026-11-25",
|
|
17662
|
+
"label": "2 people away"
|
|
17663
|
+
}
|
|
17664
|
+
]
|
|
17665
|
+
}
|
|
17666
|
+
}
|
|
17667
|
+
]
|
|
17668
|
+
}
|
|
17669
|
+
],
|
|
17670
|
+
"dont": [
|
|
17671
|
+
{
|
|
17672
|
+
"title": "Put the reason for a marker in its label",
|
|
17673
|
+
"note": "A marker with only a tone and no label tells a screen reader nothing. A clash is a warning, never a block: show it and leave the day open.",
|
|
17674
|
+
"example": [
|
|
17675
|
+
{
|
|
17676
|
+
"component": "AppMiniCalendar",
|
|
17677
|
+
"props": {
|
|
17678
|
+
"month": "2026-11",
|
|
17679
|
+
"markers": [
|
|
17680
|
+
{
|
|
17681
|
+
"date": "2026-11-27",
|
|
17682
|
+
"tone": "warning"
|
|
17683
|
+
}
|
|
17684
|
+
]
|
|
17685
|
+
}
|
|
17686
|
+
}
|
|
17687
|
+
]
|
|
17688
|
+
}
|
|
17689
|
+
],
|
|
17690
|
+
"a11y": [
|
|
17691
|
+
"Each day is a button whose accessible name is the full date, followed by the marker labels.",
|
|
17692
|
+
"The selected day is announced with aria-pressed, and today with aria-current.",
|
|
17693
|
+
"The previous and next month buttons are named from the shared date picker text.",
|
|
17694
|
+
"Arrow keys move between days, Page Up and Page Down move between months, and Home and End go to the start and end of the week row.",
|
|
17695
|
+
"One day is in the tab order: the selected day, else today, else the first day of the month."
|
|
17696
|
+
]
|
|
17697
|
+
}
|
|
17698
|
+
},
|
|
16332
17699
|
{
|
|
16333
17700
|
"name": "AppModal",
|
|
16334
17701
|
"marker": "AppModal",
|
|
@@ -17137,6 +18504,17 @@
|
|
|
17137
18504
|
"marker": "AppNotificationCenter",
|
|
17138
18505
|
"acceptsChildren": false,
|
|
17139
18506
|
"props": [
|
|
18507
|
+
{
|
|
18508
|
+
"name": "dayLabels",
|
|
18509
|
+
"type": "enum",
|
|
18510
|
+
"enum": [
|
|
18511
|
+
"exact",
|
|
18512
|
+
"relative"
|
|
18513
|
+
],
|
|
18514
|
+
"required": false,
|
|
18515
|
+
"description": "exact writes each day as its date (04-Oct-2026) instead of Today and Yesterday.",
|
|
18516
|
+
"default": "relative"
|
|
18517
|
+
},
|
|
17140
18518
|
{
|
|
17141
18519
|
"name": "defaultOpen",
|
|
17142
18520
|
"type": "boolean",
|
|
@@ -17144,6 +18522,12 @@
|
|
|
17144
18522
|
"description": "Starts with the panel open. The element owns the state after that.",
|
|
17145
18523
|
"default": false
|
|
17146
18524
|
},
|
|
18525
|
+
{
|
|
18526
|
+
"name": "earlierHref",
|
|
18527
|
+
"type": "url",
|
|
18528
|
+
"required": false,
|
|
18529
|
+
"description": "A See earlier link at the end of the Unread tab. Needs tabs."
|
|
18530
|
+
},
|
|
17147
18531
|
{
|
|
17148
18532
|
"name": "emptyText",
|
|
17149
18533
|
"type": "string",
|
|
@@ -17151,6 +18535,12 @@
|
|
|
17151
18535
|
"description": "Shown when there are no items.",
|
|
17152
18536
|
"default": "You are all caught up."
|
|
17153
18537
|
},
|
|
18538
|
+
{
|
|
18539
|
+
"name": "error",
|
|
18540
|
+
"type": "any",
|
|
18541
|
+
"required": false,
|
|
18542
|
+
"description": "Shows the message (text, optional) with a Try again action (onRetry) in place of the list."
|
|
18543
|
+
},
|
|
17154
18544
|
{
|
|
17155
18545
|
"name": "items",
|
|
17156
18546
|
"type": "array",
|
|
@@ -17214,6 +18604,13 @@
|
|
|
17214
18604
|
"description": "The bell's name and the panel heading.",
|
|
17215
18605
|
"default": "Notifications"
|
|
17216
18606
|
},
|
|
18607
|
+
{
|
|
18608
|
+
"name": "loading",
|
|
18609
|
+
"type": "boolean",
|
|
18610
|
+
"required": false,
|
|
18611
|
+
"description": "Shows Loading notifications in place of the list.",
|
|
18612
|
+
"default": false
|
|
18613
|
+
},
|
|
17217
18614
|
{
|
|
17218
18615
|
"name": "now",
|
|
17219
18616
|
"type": "stringOrNumber",
|
|
@@ -17458,6 +18855,13 @@
|
|
|
17458
18855
|
"description": "The amount one stepper click, or one ArrowUp or ArrowDown press, adds or removes.",
|
|
17459
18856
|
"default": 1
|
|
17460
18857
|
},
|
|
18858
|
+
{
|
|
18859
|
+
"name": "steppers",
|
|
18860
|
+
"type": "boolean",
|
|
18861
|
+
"required": false,
|
|
18862
|
+
"description": "Draws the minus and plus buttons. False keeps only the input, for amounts where stepping by one is never wanted; ArrowUp and ArrowDown still step.",
|
|
18863
|
+
"default": true
|
|
18864
|
+
},
|
|
17461
18865
|
{
|
|
17462
18866
|
"name": "unit",
|
|
17463
18867
|
"type": "string",
|
|
@@ -17470,6 +18874,15 @@
|
|
|
17470
18874
|
"required": false,
|
|
17471
18875
|
"nullable": true,
|
|
17472
18876
|
"description": "The current number; null or unset for an empty field."
|
|
18877
|
+
},
|
|
18878
|
+
{
|
|
18879
|
+
"name": "variant",
|
|
18880
|
+
"type": "enum",
|
|
18881
|
+
"enum": [
|
|
18882
|
+
"underline"
|
|
18883
|
+
],
|
|
18884
|
+
"required": false,
|
|
18885
|
+
"description": "Underline keeps only a line under the field."
|
|
17473
18886
|
}
|
|
17474
18887
|
],
|
|
17475
18888
|
"itemsTakeAction": [],
|
|
@@ -17504,6 +18917,84 @@
|
|
|
17504
18917
|
]
|
|
17505
18918
|
}
|
|
17506
18919
|
},
|
|
18920
|
+
{
|
|
18921
|
+
"name": "AppOfflineBanner",
|
|
18922
|
+
"marker": "AppOfflineBanner",
|
|
18923
|
+
"acceptsChildren": false,
|
|
18924
|
+
"props": [
|
|
18925
|
+
{
|
|
18926
|
+
"name": "className",
|
|
18927
|
+
"type": "string",
|
|
18928
|
+
"required": false,
|
|
18929
|
+
"description": "Extra classes on the banner.",
|
|
18930
|
+
"default": ""
|
|
18931
|
+
},
|
|
18932
|
+
{
|
|
18933
|
+
"name": "loadedAt",
|
|
18934
|
+
"type": "string",
|
|
18935
|
+
"required": false,
|
|
18936
|
+
"description": "When the content on the page last loaded, as the screen formats it (for example 23:12). Omit it to show the line without a time."
|
|
18937
|
+
},
|
|
18938
|
+
{
|
|
18939
|
+
"name": "offline",
|
|
18940
|
+
"type": "boolean",
|
|
18941
|
+
"required": false,
|
|
18942
|
+
"description": "Shows the banner while true. Omit it to follow the browser's connection, which also shows the back-online message for a few seconds."
|
|
18943
|
+
}
|
|
18944
|
+
],
|
|
18945
|
+
"itemsTakeAction": [],
|
|
18946
|
+
"takesAction": [],
|
|
18947
|
+
"source": "@webority/ui-react",
|
|
18948
|
+
"usage": {
|
|
18949
|
+
"when": [
|
|
18950
|
+
"The connection drops while a person works on a page that shows content already loaded.",
|
|
18951
|
+
"The page should say how old the content on screen is."
|
|
18952
|
+
],
|
|
18953
|
+
"whenNot": [
|
|
18954
|
+
{
|
|
18955
|
+
"text": "A message after a save or an action that disappears on its own.",
|
|
18956
|
+
"instead": "toast"
|
|
18957
|
+
},
|
|
18958
|
+
{
|
|
18959
|
+
"text": "One part of the page failed to load and the rest still works.",
|
|
18960
|
+
"instead": "AppResultBlock"
|
|
18961
|
+
}
|
|
18962
|
+
],
|
|
18963
|
+
"do": [
|
|
18964
|
+
{
|
|
18965
|
+
"title": "Say when the content last loaded",
|
|
18966
|
+
"note": "The time tells a person how old the figures are, so they know whether to trust them.",
|
|
18967
|
+
"example": [
|
|
18968
|
+
{
|
|
18969
|
+
"component": "AppOfflineBanner",
|
|
18970
|
+
"props": {
|
|
18971
|
+
"offline": true,
|
|
18972
|
+
"loadedAt": "23:12"
|
|
18973
|
+
}
|
|
18974
|
+
}
|
|
18975
|
+
]
|
|
18976
|
+
}
|
|
18977
|
+
],
|
|
18978
|
+
"dont": [
|
|
18979
|
+
{
|
|
18980
|
+
"title": "Say when the content last loaded",
|
|
18981
|
+
"note": "Without a time a person cannot tell how old the figures on screen are.",
|
|
18982
|
+
"example": [
|
|
18983
|
+
{
|
|
18984
|
+
"component": "AppOfflineBanner",
|
|
18985
|
+
"props": {
|
|
18986
|
+
"offline": true
|
|
18987
|
+
}
|
|
18988
|
+
}
|
|
18989
|
+
]
|
|
18990
|
+
}
|
|
18991
|
+
],
|
|
18992
|
+
"a11y": [
|
|
18993
|
+
"The banner is a status region, so a screen reader announces going offline and coming back online.",
|
|
18994
|
+
"Check again is a native button with its own name and focus ring."
|
|
18995
|
+
]
|
|
18996
|
+
}
|
|
18997
|
+
},
|
|
17507
18998
|
{
|
|
17508
18999
|
"name": "AppOnboardingChecklist",
|
|
17509
19000
|
"marker": "AppOnboardingChecklist",
|
|
@@ -17956,6 +19447,15 @@
|
|
|
17956
19447
|
"type": "string",
|
|
17957
19448
|
"required": false,
|
|
17958
19449
|
"description": "The code entered so far. The field is controlled, so pair it with onChange."
|
|
19450
|
+
},
|
|
19451
|
+
{
|
|
19452
|
+
"name": "variant",
|
|
19453
|
+
"type": "enum",
|
|
19454
|
+
"enum": [
|
|
19455
|
+
"underline"
|
|
19456
|
+
],
|
|
19457
|
+
"required": false,
|
|
19458
|
+
"description": "Underline keeps only a line under the field."
|
|
17959
19459
|
}
|
|
17960
19460
|
],
|
|
17961
19461
|
"itemsTakeAction": [],
|
|
@@ -18532,11 +20032,27 @@
|
|
|
18532
20032
|
"description": "The control height.",
|
|
18533
20033
|
"default": "md"
|
|
18534
20034
|
},
|
|
20035
|
+
{
|
|
20036
|
+
"name": "valid",
|
|
20037
|
+
"type": "boolean",
|
|
20038
|
+
"required": false,
|
|
20039
|
+
"description": "Shows a green tick on a filled field with no error.",
|
|
20040
|
+
"default": false
|
|
20041
|
+
},
|
|
18535
20042
|
{
|
|
18536
20043
|
"name": "value",
|
|
18537
20044
|
"type": "string",
|
|
18538
20045
|
"required": false,
|
|
18539
20046
|
"description": "The phone number as entered."
|
|
20047
|
+
},
|
|
20048
|
+
{
|
|
20049
|
+
"name": "variant",
|
|
20050
|
+
"type": "enum",
|
|
20051
|
+
"enum": [
|
|
20052
|
+
"underline"
|
|
20053
|
+
],
|
|
20054
|
+
"required": false,
|
|
20055
|
+
"description": "Underline keeps only a line under the field."
|
|
18540
20056
|
}
|
|
18541
20057
|
],
|
|
18542
20058
|
"itemsTakeAction": [],
|
|
@@ -19779,6 +21295,167 @@
|
|
|
19779
21295
|
]
|
|
19780
21296
|
}
|
|
19781
21297
|
},
|
|
21298
|
+
{
|
|
21299
|
+
"name": "AppQueueBundle",
|
|
21300
|
+
"marker": "AppQueueBundle",
|
|
21301
|
+
"acceptsChildren": false,
|
|
21302
|
+
"props": [
|
|
21303
|
+
{
|
|
21304
|
+
"name": "className",
|
|
21305
|
+
"type": "string",
|
|
21306
|
+
"required": false,
|
|
21307
|
+
"description": "Extra class on the section.",
|
|
21308
|
+
"default": ""
|
|
21309
|
+
},
|
|
21310
|
+
{
|
|
21311
|
+
"name": "reason",
|
|
21312
|
+
"type": "node",
|
|
21313
|
+
"required": false,
|
|
21314
|
+
"description": "The plain reason the server marked the group safe."
|
|
21315
|
+
},
|
|
21316
|
+
{
|
|
21317
|
+
"name": "rows",
|
|
21318
|
+
"type": "array",
|
|
21319
|
+
"itemFields": [
|
|
21320
|
+
{
|
|
21321
|
+
"name": "checked",
|
|
21322
|
+
"type": "boolean",
|
|
21323
|
+
"required": false,
|
|
21324
|
+
"description": "Starts the row checked. A row left out is not approved.",
|
|
21325
|
+
"default": true
|
|
21326
|
+
},
|
|
21327
|
+
{
|
|
21328
|
+
"name": "key",
|
|
21329
|
+
"type": "string",
|
|
21330
|
+
"required": true,
|
|
21331
|
+
"description": "A stable key, passed back to onApprove."
|
|
21332
|
+
},
|
|
21333
|
+
{
|
|
21334
|
+
"name": "primary",
|
|
21335
|
+
"type": "node",
|
|
21336
|
+
"required": true,
|
|
21337
|
+
"description": "The row's main line."
|
|
21338
|
+
},
|
|
21339
|
+
{
|
|
21340
|
+
"name": "secondary",
|
|
21341
|
+
"type": "node",
|
|
21342
|
+
"required": false,
|
|
21343
|
+
"description": "A smaller line under the main one."
|
|
21344
|
+
},
|
|
21345
|
+
{
|
|
21346
|
+
"name": "status",
|
|
21347
|
+
"type": "enum",
|
|
21348
|
+
"enum": [
|
|
21349
|
+
"busy",
|
|
21350
|
+
"done",
|
|
21351
|
+
"failed",
|
|
21352
|
+
"idle"
|
|
21353
|
+
],
|
|
21354
|
+
"required": false,
|
|
21355
|
+
"description": "idle | busy (Approving) | done (Approved) | failed (Not approved).",
|
|
21356
|
+
"default": "idle"
|
|
21357
|
+
},
|
|
21358
|
+
{
|
|
21359
|
+
"name": "trailing",
|
|
21360
|
+
"type": "node",
|
|
21361
|
+
"required": false,
|
|
21362
|
+
"description": "Text at the row's end, such as an amount."
|
|
21363
|
+
}
|
|
21364
|
+
],
|
|
21365
|
+
"required": true,
|
|
21366
|
+
"description": "The rows in the group. Only rows the server marked safe belong here."
|
|
21367
|
+
},
|
|
21368
|
+
{
|
|
21369
|
+
"name": "running",
|
|
21370
|
+
"type": "object",
|
|
21371
|
+
"required": false,
|
|
21372
|
+
"description": "Shows progress while the approvals run: { total, done }."
|
|
21373
|
+
},
|
|
21374
|
+
{
|
|
21375
|
+
"name": "title",
|
|
21376
|
+
"type": "node",
|
|
21377
|
+
"required": true,
|
|
21378
|
+
"description": "The sentence that names the group, such as \"8 one-day requests inside the balance\"."
|
|
21379
|
+
}
|
|
21380
|
+
],
|
|
21381
|
+
"itemsTakeAction": [],
|
|
21382
|
+
"takesAction": [],
|
|
21383
|
+
"source": "@webority/ui-react",
|
|
21384
|
+
"usage": {
|
|
21385
|
+
"when": [
|
|
21386
|
+
"A server has marked a group of requests safe to approve together, and a person checks the list before approving.",
|
|
21387
|
+
"A queue whose product rule defines a safe group, such as one-day leave requests inside the balance."
|
|
21388
|
+
],
|
|
21389
|
+
"whenNot": [
|
|
21390
|
+
{
|
|
21391
|
+
"text": "Each request must be opened and decided on its own.",
|
|
21392
|
+
"instead": "AppSplitView"
|
|
21393
|
+
},
|
|
21394
|
+
{
|
|
21395
|
+
"text": "The rows are a list to scan or sort, with no group action.",
|
|
21396
|
+
"instead": "AppDataTable"
|
|
21397
|
+
},
|
|
21398
|
+
{
|
|
21399
|
+
"text": "The queue has no safe group, so nothing can be approved together.",
|
|
21400
|
+
"instead": "AppSplitView"
|
|
21401
|
+
}
|
|
21402
|
+
],
|
|
21403
|
+
"do": [
|
|
21404
|
+
{
|
|
21405
|
+
"title": "Show only the rows the server marked safe",
|
|
21406
|
+
"note": "The page never decides what is safe. Each row arrives with its own status, and only the marked rows belong in the block.",
|
|
21407
|
+
"example": [
|
|
21408
|
+
{
|
|
21409
|
+
"component": "AppQueueBundle",
|
|
21410
|
+
"props": {
|
|
21411
|
+
"title": "2 one-day requests inside the balance",
|
|
21412
|
+
"reason": "One day each, inside the leave balance.",
|
|
21413
|
+
"rows": [
|
|
21414
|
+
{
|
|
21415
|
+
"key": "r1",
|
|
21416
|
+
"primary": "Asha Rao",
|
|
21417
|
+
"secondary": "Mon 3 Nov",
|
|
21418
|
+
"trailing": "1 day"
|
|
21419
|
+
},
|
|
21420
|
+
{
|
|
21421
|
+
"key": "r2",
|
|
21422
|
+
"primary": "Dev Singh",
|
|
21423
|
+
"secondary": "Tue 4 Nov",
|
|
21424
|
+
"trailing": "1 day"
|
|
21425
|
+
}
|
|
21426
|
+
]
|
|
21427
|
+
}
|
|
21428
|
+
}
|
|
21429
|
+
]
|
|
21430
|
+
}
|
|
21431
|
+
],
|
|
21432
|
+
"dont": [
|
|
21433
|
+
{
|
|
21434
|
+
"title": "Show only the rows the server marked safe",
|
|
21435
|
+
"note": "A bundle that approves a request the rule did not clear skips the check the person relies on.",
|
|
21436
|
+
"example": [
|
|
21437
|
+
{
|
|
21438
|
+
"component": "AppQueueBundle",
|
|
21439
|
+
"props": {
|
|
21440
|
+
"title": "5 requests",
|
|
21441
|
+
"rows": [
|
|
21442
|
+
{
|
|
21443
|
+
"key": "x1",
|
|
21444
|
+
"primary": "Unchecked request"
|
|
21445
|
+
}
|
|
21446
|
+
]
|
|
21447
|
+
}
|
|
21448
|
+
}
|
|
21449
|
+
]
|
|
21450
|
+
}
|
|
21451
|
+
],
|
|
21452
|
+
"a11y": [
|
|
21453
|
+
"Each row is a checkbox named by its main line, so a screen reader reads what it approves.",
|
|
21454
|
+
"The progress of a run is a progress bar with its label, so the count is announced as it moves.",
|
|
21455
|
+
"Approve is a native button, reached by the keyboard in order after the list."
|
|
21456
|
+
]
|
|
21457
|
+
}
|
|
21458
|
+
},
|
|
19782
21459
|
{
|
|
19783
21460
|
"name": "AppRadio",
|
|
19784
21461
|
"marker": "AppRadio",
|
|
@@ -21098,6 +22775,167 @@
|
|
|
21098
22775
|
]
|
|
21099
22776
|
}
|
|
21100
22777
|
},
|
|
22778
|
+
{
|
|
22779
|
+
"name": "AppResultBlock",
|
|
22780
|
+
"marker": "AppResultBlock",
|
|
22781
|
+
"acceptsChildren": true,
|
|
22782
|
+
"props": [
|
|
22783
|
+
{
|
|
22784
|
+
"name": "actions",
|
|
22785
|
+
"type": "node",
|
|
22786
|
+
"required": false,
|
|
22787
|
+
"description": "Usually one or two buttons, such as Try again."
|
|
22788
|
+
},
|
|
22789
|
+
{
|
|
22790
|
+
"name": "className",
|
|
22791
|
+
"type": "string",
|
|
22792
|
+
"required": false,
|
|
22793
|
+
"description": "Extra classes on the block.",
|
|
22794
|
+
"default": ""
|
|
22795
|
+
},
|
|
22796
|
+
{
|
|
22797
|
+
"name": "copiedLabel",
|
|
22798
|
+
"type": "string",
|
|
22799
|
+
"required": false,
|
|
22800
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
22801
|
+
"default": "Copied"
|
|
22802
|
+
},
|
|
22803
|
+
{
|
|
22804
|
+
"name": "copyLabel",
|
|
22805
|
+
"type": "string",
|
|
22806
|
+
"required": false,
|
|
22807
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
22808
|
+
"default": "Copy reference"
|
|
22809
|
+
},
|
|
22810
|
+
{
|
|
22811
|
+
"name": "facts",
|
|
22812
|
+
"type": "array",
|
|
22813
|
+
"required": false,
|
|
22814
|
+
"description": "Labelled facts under the sentence, as a list of { key, label, value } rows."
|
|
22815
|
+
},
|
|
22816
|
+
{
|
|
22817
|
+
"name": "field",
|
|
22818
|
+
"type": "node",
|
|
22819
|
+
"required": false,
|
|
22820
|
+
"description": "A form field shown under the sentence."
|
|
22821
|
+
},
|
|
22822
|
+
{
|
|
22823
|
+
"name": "headingLevel",
|
|
22824
|
+
"type": "enum",
|
|
22825
|
+
"enum": [
|
|
22826
|
+
1,
|
|
22827
|
+
2,
|
|
22828
|
+
3
|
|
22829
|
+
],
|
|
22830
|
+
"required": false,
|
|
22831
|
+
"description": "The title's heading level: 1 when the block is the whole page.",
|
|
22832
|
+
"default": 2
|
|
22833
|
+
},
|
|
22834
|
+
{
|
|
22835
|
+
"name": "icon",
|
|
22836
|
+
"type": "icon",
|
|
22837
|
+
"required": false,
|
|
22838
|
+
"description": "Overrides the tone's icon: a library icon name or any node."
|
|
22839
|
+
},
|
|
22840
|
+
{
|
|
22841
|
+
"name": "reference",
|
|
22842
|
+
"type": "string",
|
|
22843
|
+
"required": false,
|
|
22844
|
+
"description": "A reference code shown with a Copy reference button."
|
|
22845
|
+
},
|
|
22846
|
+
{
|
|
22847
|
+
"name": "referenceLabel",
|
|
22848
|
+
"type": "string",
|
|
22849
|
+
"required": false,
|
|
22850
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
22851
|
+
"default": "Reference"
|
|
22852
|
+
},
|
|
22853
|
+
{
|
|
22854
|
+
"name": "title",
|
|
22855
|
+
"type": "node",
|
|
22856
|
+
"required": true,
|
|
22857
|
+
"description": "The heading: what failed, in a few words."
|
|
22858
|
+
},
|
|
22859
|
+
{
|
|
22860
|
+
"name": "tone",
|
|
22861
|
+
"type": "enum",
|
|
22862
|
+
"enum": [
|
|
22863
|
+
"danger",
|
|
22864
|
+
"info",
|
|
22865
|
+
"secondary",
|
|
22866
|
+
"warning"
|
|
22867
|
+
],
|
|
22868
|
+
"required": false,
|
|
22869
|
+
"description": "The colour and default icon: danger for a failed region, warning, info or secondary.",
|
|
22870
|
+
"default": "danger"
|
|
22871
|
+
}
|
|
22872
|
+
],
|
|
22873
|
+
"itemsTakeAction": [],
|
|
22874
|
+
"takesAction": [],
|
|
22875
|
+
"source": "@webority/ui-react",
|
|
22876
|
+
"usage": {
|
|
22877
|
+
"when": [
|
|
22878
|
+
"A region of a page fails to load and the rest of the page still works.",
|
|
22879
|
+
"The whole page cannot load and a compact left-aligned message suits the shell better than a centred outcome screen."
|
|
22880
|
+
],
|
|
22881
|
+
"whenNot": [
|
|
22882
|
+
{
|
|
22883
|
+
"text": "A full-page outcome such as a success, or a 403, 404 or 500 screen.",
|
|
22884
|
+
"instead": "AppResult"
|
|
22885
|
+
},
|
|
22886
|
+
{
|
|
22887
|
+
"text": "A section that has nothing in it yet.",
|
|
22888
|
+
"instead": "AppEmptyState"
|
|
22889
|
+
},
|
|
22890
|
+
{
|
|
22891
|
+
"text": "A short message that disappears on its own.",
|
|
22892
|
+
"instead": "toast"
|
|
22893
|
+
}
|
|
22894
|
+
],
|
|
22895
|
+
"do": [
|
|
22896
|
+
{
|
|
22897
|
+
"title": "Keep the rest of the page working",
|
|
22898
|
+
"note": "The block replaces only the part that failed. Put it where that part was.",
|
|
22899
|
+
"example": [
|
|
22900
|
+
{
|
|
22901
|
+
"component": "AppResultBlock",
|
|
22902
|
+
"props": {
|
|
22903
|
+
"title": "Could not load the list",
|
|
22904
|
+
"actions": {
|
|
22905
|
+
"component": "AppButton",
|
|
22906
|
+
"props": {
|
|
22907
|
+
"variant": "soft"
|
|
22908
|
+
},
|
|
22909
|
+
"children": "Try again"
|
|
22910
|
+
}
|
|
22911
|
+
}
|
|
22912
|
+
}
|
|
22913
|
+
]
|
|
22914
|
+
}
|
|
22915
|
+
],
|
|
22916
|
+
"dont": [
|
|
22917
|
+
{
|
|
22918
|
+
"title": "Keep the rest of the page working",
|
|
22919
|
+
"note": "A block that replaces the whole page hides the parts that still work.",
|
|
22920
|
+
"example": [
|
|
22921
|
+
{
|
|
22922
|
+
"component": "AppResultBlock",
|
|
22923
|
+
"props": {
|
|
22924
|
+
"title": "Could not load the page",
|
|
22925
|
+
"headingLevel": 1
|
|
22926
|
+
},
|
|
22927
|
+
"children": "Check your connection, then try again."
|
|
22928
|
+
}
|
|
22929
|
+
]
|
|
22930
|
+
}
|
|
22931
|
+
],
|
|
22932
|
+
"a11y": [
|
|
22933
|
+
"The title is a heading at headingLevel, so a screen reader finds the failed region in the heading list.",
|
|
22934
|
+
"The icon is decorative and hidden from assistive technology.",
|
|
22935
|
+
"The reference copies with one click and announces Copied."
|
|
22936
|
+
]
|
|
22937
|
+
}
|
|
22938
|
+
},
|
|
21101
22939
|
{
|
|
21102
22940
|
"name": "AppRichText",
|
|
21103
22941
|
"marker": "AppRichText",
|
|
@@ -21294,6 +23132,13 @@
|
|
|
21294
23132
|
"required": false,
|
|
21295
23133
|
"description": "Shown above the result, usually the product's logo."
|
|
21296
23134
|
},
|
|
23135
|
+
{
|
|
23136
|
+
"name": "checkAgainLabel",
|
|
23137
|
+
"type": "string",
|
|
23138
|
+
"required": false,
|
|
23139
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23140
|
+
"default": "Check again"
|
|
23141
|
+
},
|
|
21297
23142
|
{
|
|
21298
23143
|
"name": "className",
|
|
21299
23144
|
"type": "string",
|
|
@@ -21301,6 +23146,13 @@
|
|
|
21301
23146
|
"description": "Extra classes on the outer container.",
|
|
21302
23147
|
"default": ""
|
|
21303
23148
|
},
|
|
23149
|
+
{
|
|
23150
|
+
"name": "copyReferenceLabel",
|
|
23151
|
+
"type": "string",
|
|
23152
|
+
"required": false,
|
|
23153
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23154
|
+
"default": "Copy reference"
|
|
23155
|
+
},
|
|
21304
23156
|
{
|
|
21305
23157
|
"name": "errorText",
|
|
21306
23158
|
"type": "string",
|
|
@@ -21315,6 +23167,26 @@
|
|
|
21315
23167
|
"description": "Replaces the built-in English text, for other languages.",
|
|
21316
23168
|
"default": "This page did not load"
|
|
21317
23169
|
},
|
|
23170
|
+
{
|
|
23171
|
+
"name": "expectedBack",
|
|
23172
|
+
"type": "stringOrNumber",
|
|
23173
|
+
"required": false,
|
|
23174
|
+
"description": "When the service is back, as an ISO string with its zone (Z or an offset) or epoch milliseconds; write a Date as an ISO string. Shown as HH:mm IST after the maintenance text. Needs kind maintenance."
|
|
23175
|
+
},
|
|
23176
|
+
{
|
|
23177
|
+
"name": "forbiddenText",
|
|
23178
|
+
"type": "string",
|
|
23179
|
+
"required": false,
|
|
23180
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23181
|
+
"default": "Ask your administrator for access, or go to the home page."
|
|
23182
|
+
},
|
|
23183
|
+
{
|
|
23184
|
+
"name": "forbiddenTitle",
|
|
23185
|
+
"type": "string",
|
|
23186
|
+
"required": false,
|
|
23187
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23188
|
+
"default": "You do not have access to this page"
|
|
23189
|
+
},
|
|
21318
23190
|
{
|
|
21319
23191
|
"name": "fullPage",
|
|
21320
23192
|
"type": "boolean",
|
|
@@ -21341,13 +23213,31 @@
|
|
|
21341
23213
|
"type": "enum",
|
|
21342
23214
|
"enum": [
|
|
21343
23215
|
"error",
|
|
23216
|
+
"forbidden",
|
|
23217
|
+
"maintenance",
|
|
21344
23218
|
"not-found",
|
|
23219
|
+
"offline",
|
|
23220
|
+
"signed-out",
|
|
21345
23221
|
"stale-build"
|
|
21346
23222
|
],
|
|
21347
23223
|
"required": false,
|
|
21348
|
-
"description": "What went wrong. An error offers Try again and the home page, a stale build offers Reload, and a
|
|
23224
|
+
"description": "What went wrong. An error offers Try again and the home page, a stale build offers Reload, a missing page and a forbidden page offer the home page, a signed-out person offers Sign in again, maintenance offers Check again, and offline offers Try again.",
|
|
21349
23225
|
"default": "error"
|
|
21350
23226
|
},
|
|
23227
|
+
{
|
|
23228
|
+
"name": "maintenanceText",
|
|
23229
|
+
"type": "string",
|
|
23230
|
+
"required": false,
|
|
23231
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23232
|
+
"default": "This page is back shortly. Check again in a few minutes."
|
|
23233
|
+
},
|
|
23234
|
+
{
|
|
23235
|
+
"name": "maintenanceTitle",
|
|
23236
|
+
"type": "string",
|
|
23237
|
+
"required": false,
|
|
23238
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23239
|
+
"default": "We are doing some maintenance"
|
|
23240
|
+
},
|
|
21351
23241
|
{
|
|
21352
23242
|
"name": "notFoundText",
|
|
21353
23243
|
"type": "string",
|
|
@@ -21362,6 +23252,34 @@
|
|
|
21362
23252
|
"description": "Replaces the built-in English text, for other languages.",
|
|
21363
23253
|
"default": "We could not find that page"
|
|
21364
23254
|
},
|
|
23255
|
+
{
|
|
23256
|
+
"name": "offlineText",
|
|
23257
|
+
"type": "string",
|
|
23258
|
+
"required": false,
|
|
23259
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23260
|
+
"default": "Check your connection, then try again."
|
|
23261
|
+
},
|
|
23262
|
+
{
|
|
23263
|
+
"name": "offlineTitle",
|
|
23264
|
+
"type": "string",
|
|
23265
|
+
"required": false,
|
|
23266
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23267
|
+
"default": "You are offline"
|
|
23268
|
+
},
|
|
23269
|
+
{
|
|
23270
|
+
"name": "reference",
|
|
23271
|
+
"type": "string",
|
|
23272
|
+
"required": false,
|
|
23273
|
+
"nullable": true,
|
|
23274
|
+
"description": "A code the person can quote to support, such as useRouteErrorReport's reference. Shown under the actions with a Copy reference button; nothing is shown when it is absent or null."
|
|
23275
|
+
},
|
|
23276
|
+
{
|
|
23277
|
+
"name": "referenceLabel",
|
|
23278
|
+
"type": "string",
|
|
23279
|
+
"required": false,
|
|
23280
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23281
|
+
"default": "Reference"
|
|
23282
|
+
},
|
|
21365
23283
|
{
|
|
21366
23284
|
"name": "reloadLabel",
|
|
21367
23285
|
"type": "string",
|
|
@@ -21369,6 +23287,19 @@
|
|
|
21369
23287
|
"description": "Replaces the built-in English text, for other languages.",
|
|
21370
23288
|
"default": "Reload"
|
|
21371
23289
|
},
|
|
23290
|
+
{
|
|
23291
|
+
"name": "requestAccessHref",
|
|
23292
|
+
"type": "url",
|
|
23293
|
+
"required": false,
|
|
23294
|
+
"description": "Where \"Request access\" leads. Needs kind forbidden."
|
|
23295
|
+
},
|
|
23296
|
+
{
|
|
23297
|
+
"name": "requestAccessLabel",
|
|
23298
|
+
"type": "string",
|
|
23299
|
+
"required": false,
|
|
23300
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23301
|
+
"default": "Request access"
|
|
23302
|
+
},
|
|
21372
23303
|
{
|
|
21373
23304
|
"name": "retryLabel",
|
|
21374
23305
|
"type": "string",
|
|
@@ -21376,6 +23307,27 @@
|
|
|
21376
23307
|
"description": "Replaces the built-in English text, for other languages.",
|
|
21377
23308
|
"default": "Try again"
|
|
21378
23309
|
},
|
|
23310
|
+
{
|
|
23311
|
+
"name": "signInLabel",
|
|
23312
|
+
"type": "string",
|
|
23313
|
+
"required": false,
|
|
23314
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23315
|
+
"default": "Sign in again"
|
|
23316
|
+
},
|
|
23317
|
+
{
|
|
23318
|
+
"name": "signedOutText",
|
|
23319
|
+
"type": "string",
|
|
23320
|
+
"required": false,
|
|
23321
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23322
|
+
"default": "Sign in again to carry on where you were."
|
|
23323
|
+
},
|
|
23324
|
+
{
|
|
23325
|
+
"name": "signedOutTitle",
|
|
23326
|
+
"type": "string",
|
|
23327
|
+
"required": false,
|
|
23328
|
+
"description": "Replaces the built-in English text, for other languages.",
|
|
23329
|
+
"default": "You are signed out"
|
|
23330
|
+
},
|
|
21379
23331
|
{
|
|
21380
23332
|
"name": "staleText",
|
|
21381
23333
|
"type": "string",
|
|
@@ -21926,6 +23878,15 @@
|
|
|
21926
23878
|
"type": "string",
|
|
21927
23879
|
"required": false,
|
|
21928
23880
|
"description": "The text in the field."
|
|
23881
|
+
},
|
|
23882
|
+
{
|
|
23883
|
+
"name": "variant",
|
|
23884
|
+
"type": "enum",
|
|
23885
|
+
"enum": [
|
|
23886
|
+
"underline"
|
|
23887
|
+
],
|
|
23888
|
+
"required": false,
|
|
23889
|
+
"description": "Underline keeps only a line under the field."
|
|
21929
23890
|
}
|
|
21930
23891
|
],
|
|
21931
23892
|
"itemsTakeAction": [],
|
|
@@ -23187,6 +25148,12 @@
|
|
|
23187
25148
|
"description": "Disables the whole control.",
|
|
23188
25149
|
"default": false
|
|
23189
25150
|
},
|
|
25151
|
+
{
|
|
25152
|
+
"name": "error",
|
|
25153
|
+
"type": "node",
|
|
25154
|
+
"required": false,
|
|
25155
|
+
"description": "Shown under the control. Sets aria-invalid on the group and is described by it."
|
|
25156
|
+
},
|
|
23190
25157
|
{
|
|
23191
25158
|
"name": "fullWidth",
|
|
23192
25159
|
"type": "boolean",
|
|
@@ -23207,6 +25174,12 @@
|
|
|
23207
25174
|
"description": "aria-label for the info-tip button.",
|
|
23208
25175
|
"default": "More information"
|
|
23209
25176
|
},
|
|
25177
|
+
{
|
|
25178
|
+
"name": "helperText",
|
|
25179
|
+
"type": "node",
|
|
25180
|
+
"required": false,
|
|
25181
|
+
"description": "Shown under the control, below the error when both are set. Described by the group."
|
|
25182
|
+
},
|
|
23210
25183
|
{
|
|
23211
25184
|
"name": "label",
|
|
23212
25185
|
"type": "string",
|
|
@@ -23233,6 +25206,13 @@
|
|
|
23233
25206
|
"required": false,
|
|
23234
25207
|
"description": "The field name, which groups the radios and is what a form posts. Defaults to a generated one."
|
|
23235
25208
|
},
|
|
25209
|
+
{
|
|
25210
|
+
"name": "optional",
|
|
25211
|
+
"type": "boolean",
|
|
25212
|
+
"required": false,
|
|
25213
|
+
"description": "Ends the visible label with the optional text. Required wins when both are set.",
|
|
25214
|
+
"default": false
|
|
25215
|
+
},
|
|
23236
25216
|
{
|
|
23237
25217
|
"name": "options",
|
|
23238
25218
|
"type": "array",
|
|
@@ -23285,6 +25265,13 @@
|
|
|
23285
25265
|
"description": "Shows the value but blocks editing. The value still posts.",
|
|
23286
25266
|
"default": false
|
|
23287
25267
|
},
|
|
25268
|
+
{
|
|
25269
|
+
"name": "required",
|
|
25270
|
+
"type": "boolean",
|
|
25271
|
+
"required": false,
|
|
25272
|
+
"description": "Marks the group required: a required mark beside the visible label, aria-required, and native required on each radio.",
|
|
25273
|
+
"default": false
|
|
25274
|
+
},
|
|
23288
25275
|
{
|
|
23289
25276
|
"name": "size",
|
|
23290
25277
|
"type": "enum",
|
|
@@ -23905,6 +25892,15 @@
|
|
|
23905
25892
|
"type": "string",
|
|
23906
25893
|
"required": false,
|
|
23907
25894
|
"description": "Static text inside the control before the value, such as Sort:. Not prefix, which is the bordered affix box."
|
|
25895
|
+
},
|
|
25896
|
+
{
|
|
25897
|
+
"name": "variant",
|
|
25898
|
+
"type": "enum",
|
|
25899
|
+
"enum": [
|
|
25900
|
+
"underline"
|
|
25901
|
+
],
|
|
25902
|
+
"required": false,
|
|
25903
|
+
"description": "Underline keeps only a line under the field."
|
|
23908
25904
|
}
|
|
23909
25905
|
],
|
|
23910
25906
|
"itemsTakeAction": [],
|
|
@@ -24286,6 +26282,326 @@
|
|
|
24286
26282
|
]
|
|
24287
26283
|
}
|
|
24288
26284
|
},
|
|
26285
|
+
{
|
|
26286
|
+
"name": "AppSettingRow",
|
|
26287
|
+
"marker": "AppSettingRow",
|
|
26288
|
+
"acceptsChildren": true,
|
|
26289
|
+
"props": [
|
|
26290
|
+
{
|
|
26291
|
+
"name": "badge",
|
|
26292
|
+
"type": "node",
|
|
26293
|
+
"required": false,
|
|
26294
|
+
"description": "A small mark beside the name, such as \"Needs confirming\"."
|
|
26295
|
+
},
|
|
26296
|
+
{
|
|
26297
|
+
"name": "className",
|
|
26298
|
+
"type": "string",
|
|
26299
|
+
"required": false,
|
|
26300
|
+
"description": "Extra class names added to the root element.",
|
|
26301
|
+
"default": ""
|
|
26302
|
+
},
|
|
26303
|
+
{
|
|
26304
|
+
"name": "confirm",
|
|
26305
|
+
"type": "object",
|
|
26306
|
+
"fields": [
|
|
26307
|
+
{
|
|
26308
|
+
"name": "actionLabel",
|
|
26309
|
+
"type": "string",
|
|
26310
|
+
"required": true,
|
|
26311
|
+
"description": "The label of the action that saves."
|
|
26312
|
+
},
|
|
26313
|
+
{
|
|
26314
|
+
"name": "changes",
|
|
26315
|
+
"type": "array",
|
|
26316
|
+
"required": true,
|
|
26317
|
+
"description": "The changes, each with its label, the value it was and the value it becomes."
|
|
26318
|
+
},
|
|
26319
|
+
{
|
|
26320
|
+
"name": "confirmWord",
|
|
26321
|
+
"type": "string",
|
|
26322
|
+
"required": false,
|
|
26323
|
+
"description": "A word the person types before the action turns on. Matched exactly."
|
|
26324
|
+
},
|
|
26325
|
+
{
|
|
26326
|
+
"name": "effect",
|
|
26327
|
+
"type": "node",
|
|
26328
|
+
"required": false,
|
|
26329
|
+
"description": "What the change does, in a sentence or two."
|
|
26330
|
+
},
|
|
26331
|
+
{
|
|
26332
|
+
"name": "title",
|
|
26333
|
+
"type": "node",
|
|
26334
|
+
"required": true,
|
|
26335
|
+
"description": "The heading of the warning panel."
|
|
26336
|
+
}
|
|
26337
|
+
],
|
|
26338
|
+
"required": false,
|
|
26339
|
+
"description": "Makes Save open a warning panel with the changes. The action saves only after the confirm word is typed, when one is set."
|
|
26340
|
+
},
|
|
26341
|
+
{
|
|
26342
|
+
"name": "description",
|
|
26343
|
+
"type": "node",
|
|
26344
|
+
"required": false,
|
|
26345
|
+
"description": "One line of help under the name."
|
|
26346
|
+
},
|
|
26347
|
+
{
|
|
26348
|
+
"name": "editDisabledReason",
|
|
26349
|
+
"type": "string",
|
|
26350
|
+
"required": false,
|
|
26351
|
+
"description": "Greys the Edit button and gives the reason as its tooltip, while another row is open."
|
|
26352
|
+
},
|
|
26353
|
+
{
|
|
26354
|
+
"name": "error",
|
|
26355
|
+
"type": "node",
|
|
26356
|
+
"required": false,
|
|
26357
|
+
"description": "A conflict or a failed save. The row stays open with the typed value."
|
|
26358
|
+
},
|
|
26359
|
+
{
|
|
26360
|
+
"name": "label",
|
|
26361
|
+
"type": "node",
|
|
26362
|
+
"required": true,
|
|
26363
|
+
"description": "The setting's name, at the left of the row."
|
|
26364
|
+
},
|
|
26365
|
+
{
|
|
26366
|
+
"name": "mode",
|
|
26367
|
+
"type": "enum",
|
|
26368
|
+
"enum": [
|
|
26369
|
+
"edit",
|
|
26370
|
+
"read"
|
|
26371
|
+
],
|
|
26372
|
+
"required": false,
|
|
26373
|
+
"description": "read shows the value with an Edit button; edit opens the control with Cancel and Save.",
|
|
26374
|
+
"default": "read"
|
|
26375
|
+
},
|
|
26376
|
+
{
|
|
26377
|
+
"name": "saving",
|
|
26378
|
+
"type": "boolean",
|
|
26379
|
+
"required": false,
|
|
26380
|
+
"description": "Makes the control inert and holds the action in its loading state.",
|
|
26381
|
+
"default": false
|
|
26382
|
+
},
|
|
26383
|
+
{
|
|
26384
|
+
"name": "value",
|
|
26385
|
+
"type": "node",
|
|
26386
|
+
"required": false,
|
|
26387
|
+
"description": "The value as read text; in edit mode it is the \"Was\" line."
|
|
26388
|
+
}
|
|
26389
|
+
],
|
|
26390
|
+
"itemsTakeAction": [],
|
|
26391
|
+
"takesAction": [],
|
|
26392
|
+
"source": "@webority/ui-react",
|
|
26393
|
+
"usage": {
|
|
26394
|
+
"when": [
|
|
26395
|
+
"A product setting is read as a value, and a person changes it in place.",
|
|
26396
|
+
"A change is risky and needs a warning and a typed word before it saves."
|
|
26397
|
+
],
|
|
26398
|
+
"whenNot": [
|
|
26399
|
+
{
|
|
26400
|
+
"text": "A form of several fields that a person fills in and submits.",
|
|
26401
|
+
"instead": "AppFormSection"
|
|
26402
|
+
},
|
|
26403
|
+
{
|
|
26404
|
+
"text": "The setting is a single on or off switch with no value to read.",
|
|
26405
|
+
"instead": "AppSwitch"
|
|
26406
|
+
}
|
|
26407
|
+
],
|
|
26408
|
+
"do": [
|
|
26409
|
+
{
|
|
26410
|
+
"title": "Give each setting its current value",
|
|
26411
|
+
"note": "The value reads as text, so a person sees the setting before they open it.",
|
|
26412
|
+
"example": [
|
|
26413
|
+
{
|
|
26414
|
+
"component": "AppSettingRow",
|
|
26415
|
+
"props": {
|
|
26416
|
+
"label": "Invoice numbering",
|
|
26417
|
+
"value": "INV-0042"
|
|
26418
|
+
}
|
|
26419
|
+
}
|
|
26420
|
+
]
|
|
26421
|
+
},
|
|
26422
|
+
{
|
|
26423
|
+
"title": "Warn before a risky change",
|
|
26424
|
+
"note": "A change that starts or stops writes to a live system opens the warning panel and asks for a typed word.",
|
|
26425
|
+
"example": [
|
|
26426
|
+
{
|
|
26427
|
+
"component": "AppSettingRow",
|
|
26428
|
+
"props": {
|
|
26429
|
+
"label": "Zoho Books writes",
|
|
26430
|
+
"value": "Off",
|
|
26431
|
+
"mode": "edit",
|
|
26432
|
+
"confirm": {
|
|
26433
|
+
"title": "Start writes to Zoho Books?",
|
|
26434
|
+
"changes": [
|
|
26435
|
+
{
|
|
26436
|
+
"label": "Writes",
|
|
26437
|
+
"was": "Off",
|
|
26438
|
+
"now": "On"
|
|
26439
|
+
}
|
|
26440
|
+
],
|
|
26441
|
+
"actionLabel": "Start writes",
|
|
26442
|
+
"confirmWord": "WRITE"
|
|
26443
|
+
}
|
|
26444
|
+
}
|
|
26445
|
+
}
|
|
26446
|
+
]
|
|
26447
|
+
},
|
|
26448
|
+
{
|
|
26449
|
+
"title": "Keep a refused save in the row",
|
|
26450
|
+
"note": "A refused save stays in the row, beside the typed value, so the person can correct it where they are.",
|
|
26451
|
+
"example": [
|
|
26452
|
+
{
|
|
26453
|
+
"component": "AppSettingRow",
|
|
26454
|
+
"props": {
|
|
26455
|
+
"label": "Invoice numbering",
|
|
26456
|
+
"value": "INV-0042",
|
|
26457
|
+
"mode": "edit",
|
|
26458
|
+
"error": "That number is already used."
|
|
26459
|
+
}
|
|
26460
|
+
}
|
|
26461
|
+
]
|
|
26462
|
+
}
|
|
26463
|
+
],
|
|
26464
|
+
"dont": [
|
|
26465
|
+
{
|
|
26466
|
+
"title": "Give each setting its current value",
|
|
26467
|
+
"note": "A setting with no value leaves a person to guess what it is set to.",
|
|
26468
|
+
"example": [
|
|
26469
|
+
{
|
|
26470
|
+
"component": "AppSettingRow",
|
|
26471
|
+
"props": {
|
|
26472
|
+
"label": "Invoice numbering"
|
|
26473
|
+
}
|
|
26474
|
+
}
|
|
26475
|
+
]
|
|
26476
|
+
},
|
|
26477
|
+
{
|
|
26478
|
+
"title": "Warn before a risky change",
|
|
26479
|
+
"note": "Without the warning panel a person does not see what they change before it saves.",
|
|
26480
|
+
"example": [
|
|
26481
|
+
{
|
|
26482
|
+
"component": "AppSettingRow",
|
|
26483
|
+
"props": {
|
|
26484
|
+
"label": "Zoho Books writes",
|
|
26485
|
+
"value": "Off",
|
|
26486
|
+
"mode": "edit"
|
|
26487
|
+
}
|
|
26488
|
+
}
|
|
26489
|
+
]
|
|
26490
|
+
},
|
|
26491
|
+
{
|
|
26492
|
+
"title": "Keep a refused save in the row",
|
|
26493
|
+
"note": "A refused save shown in a toast leaves the row, and the typed value, behind.",
|
|
26494
|
+
"example": [
|
|
26495
|
+
{
|
|
26496
|
+
"component": "AppSettingRow",
|
|
26497
|
+
"props": {
|
|
26498
|
+
"label": "Invoice numbering",
|
|
26499
|
+
"value": "INV-0042",
|
|
26500
|
+
"mode": "edit"
|
|
26501
|
+
}
|
|
26502
|
+
}
|
|
26503
|
+
]
|
|
26504
|
+
}
|
|
26505
|
+
],
|
|
26506
|
+
"a11y": [
|
|
26507
|
+
"Edit, Cancel and Save are native buttons; a disabled Edit gives its reason as the tooltip.",
|
|
26508
|
+
"A refused save stays in the row, so the error is read where the person is working."
|
|
26509
|
+
]
|
|
26510
|
+
}
|
|
26511
|
+
},
|
|
26512
|
+
{
|
|
26513
|
+
"name": "AppSettingSection",
|
|
26514
|
+
"marker": "AppSettingSection",
|
|
26515
|
+
"acceptsChildren": true,
|
|
26516
|
+
"props": [
|
|
26517
|
+
{
|
|
26518
|
+
"name": "action",
|
|
26519
|
+
"type": "node",
|
|
26520
|
+
"required": false,
|
|
26521
|
+
"description": "A control at the right of the title, such as a button that adds a setting."
|
|
26522
|
+
},
|
|
26523
|
+
{
|
|
26524
|
+
"name": "className",
|
|
26525
|
+
"type": "string",
|
|
26526
|
+
"required": false,
|
|
26527
|
+
"description": "Extra class names added to the root element.",
|
|
26528
|
+
"default": ""
|
|
26529
|
+
},
|
|
26530
|
+
{
|
|
26531
|
+
"name": "description",
|
|
26532
|
+
"type": "node",
|
|
26533
|
+
"required": false,
|
|
26534
|
+
"description": "One line of help under the title."
|
|
26535
|
+
},
|
|
26536
|
+
{
|
|
26537
|
+
"name": "title",
|
|
26538
|
+
"type": "node",
|
|
26539
|
+
"required": false,
|
|
26540
|
+
"description": "The section's title, above its rows."
|
|
26541
|
+
}
|
|
26542
|
+
],
|
|
26543
|
+
"itemsTakeAction": [],
|
|
26544
|
+
"takesAction": [],
|
|
26545
|
+
"source": "@webority/ui-react",
|
|
26546
|
+
"usage": {
|
|
26547
|
+
"when": [
|
|
26548
|
+
"A page groups related settings under one title, such as invoicing or members.",
|
|
26549
|
+
"Each group holds AppSettingRow rows."
|
|
26550
|
+
],
|
|
26551
|
+
"whenNot": [
|
|
26552
|
+
{
|
|
26553
|
+
"text": "The rows are records to sort or filter.",
|
|
26554
|
+
"instead": "AppDataTable"
|
|
26555
|
+
},
|
|
26556
|
+
{
|
|
26557
|
+
"text": "The page is one form that a person fills in and submits.",
|
|
26558
|
+
"instead": "AppFormSection"
|
|
26559
|
+
}
|
|
26560
|
+
],
|
|
26561
|
+
"do": [
|
|
26562
|
+
{
|
|
26563
|
+
"title": "Name the group and say what it covers",
|
|
26564
|
+
"note": "The title and the help line let a person find the setting they want.",
|
|
26565
|
+
"example": [
|
|
26566
|
+
{
|
|
26567
|
+
"component": "AppSettingSection",
|
|
26568
|
+
"props": {
|
|
26569
|
+
"title": "Invoicing",
|
|
26570
|
+
"description": "How invoices are numbered and sent"
|
|
26571
|
+
},
|
|
26572
|
+
"children": [
|
|
26573
|
+
{
|
|
26574
|
+
"component": "AppSettingRow",
|
|
26575
|
+
"props": {
|
|
26576
|
+
"label": "Currency",
|
|
26577
|
+
"value": "INR"
|
|
26578
|
+
}
|
|
26579
|
+
}
|
|
26580
|
+
]
|
|
26581
|
+
}
|
|
26582
|
+
]
|
|
26583
|
+
}
|
|
26584
|
+
],
|
|
26585
|
+
"dont": [
|
|
26586
|
+
{
|
|
26587
|
+
"title": "Name the group and say what it covers",
|
|
26588
|
+
"note": "A group with no title gives a person no way to find it.",
|
|
26589
|
+
"example": [
|
|
26590
|
+
{
|
|
26591
|
+
"component": "AppSettingSection",
|
|
26592
|
+
"props": {
|
|
26593
|
+
"description": "How invoices are numbered"
|
|
26594
|
+
}
|
|
26595
|
+
}
|
|
26596
|
+
]
|
|
26597
|
+
}
|
|
26598
|
+
],
|
|
26599
|
+
"a11y": [
|
|
26600
|
+
"The title is a heading above the rows, so a screen reader finds each group in the heading list.",
|
|
26601
|
+
"The action sits in the header after the title, reached by the keyboard in order."
|
|
26602
|
+
]
|
|
26603
|
+
}
|
|
26604
|
+
},
|
|
24289
26605
|
{
|
|
24290
26606
|
"name": "AppShell",
|
|
24291
26607
|
"marker": "AppShell",
|
|
@@ -24326,7 +26642,7 @@
|
|
|
24326
26642
|
"name": "capBadges",
|
|
24327
26643
|
"type": "boolean",
|
|
24328
26644
|
"required": false,
|
|
24329
|
-
"description": "Shows a count over 99 as \"99+\" on the nav and tab badges
|
|
26645
|
+
"description": "Shows a count over 99 as \"99+\" on the nav and tab badges.",
|
|
24330
26646
|
"default": false
|
|
24331
26647
|
},
|
|
24332
26648
|
{
|
|
@@ -24356,6 +26672,18 @@
|
|
|
24356
26672
|
"description": "The cookie rememberCollapsed uses.",
|
|
24357
26673
|
"default": "wui-shell-collapsed"
|
|
24358
26674
|
},
|
|
26675
|
+
{
|
|
26676
|
+
"name": "contentPaddingBottom",
|
|
26677
|
+
"type": "enum",
|
|
26678
|
+
"enum": [
|
|
26679
|
+
"compact",
|
|
26680
|
+
"default",
|
|
26681
|
+
"none"
|
|
26682
|
+
],
|
|
26683
|
+
"required": false,
|
|
26684
|
+
"description": "none drops the content's bottom padding so an in-flow footer sits flush under the content; compact sets it to 16px below lg, level with the top padding.",
|
|
26685
|
+
"default": "default"
|
|
26686
|
+
},
|
|
24359
26687
|
{
|
|
24360
26688
|
"name": "currentPath",
|
|
24361
26689
|
"type": "string",
|
|
@@ -24596,13 +26924,6 @@
|
|
|
24596
26924
|
"required": false,
|
|
24597
26925
|
"description": "A floating button pinned to the bottom end corner over the page, such as an assistant launcher. On a phone it sits above the tab bar."
|
|
24598
26926
|
},
|
|
24599
|
-
{
|
|
24600
|
-
"name": "loadingNotificationsText",
|
|
24601
|
-
"type": "string",
|
|
24602
|
-
"required": false,
|
|
24603
|
-
"description": "Replaces the built-in English text, for other languages.",
|
|
24604
|
-
"default": "Loading…"
|
|
24605
|
-
},
|
|
24606
26927
|
{
|
|
24607
26928
|
"name": "logoDark",
|
|
24608
26929
|
"type": "string",
|
|
@@ -24639,13 +26960,6 @@
|
|
|
24639
26960
|
"required": false,
|
|
24640
26961
|
"description": "Pixel width of the full logo on the open sidebar, set on its img. Give the size with the file to reserve its space before it loads. Unset, the image keeps its own size."
|
|
24641
26962
|
},
|
|
24642
|
-
{
|
|
24643
|
-
"name": "markAllReadLabel",
|
|
24644
|
-
"type": "string",
|
|
24645
|
-
"required": false,
|
|
24646
|
-
"description": "Replaces the built-in English text, for other languages.",
|
|
24647
|
-
"default": "Mark all read"
|
|
24648
|
-
},
|
|
24649
26963
|
{
|
|
24650
26964
|
"name": "markDark",
|
|
24651
26965
|
"type": "string",
|
|
@@ -24735,84 +27049,93 @@
|
|
|
24735
27049
|
"description": "Full-width layout with no side nav, for a focused wizard. There is no tab bar either.",
|
|
24736
27050
|
"default": false
|
|
24737
27051
|
},
|
|
24738
|
-
{
|
|
24739
|
-
"name": "noUnreadText",
|
|
24740
|
-
"type": "string",
|
|
24741
|
-
"required": false,
|
|
24742
|
-
"description": "Replaces the built-in English text, for other languages. Read aloud when the unread count drops to zero.",
|
|
24743
|
-
"default": "No unread notifications"
|
|
24744
|
-
},
|
|
24745
27052
|
{
|
|
24746
27053
|
"name": "notifications",
|
|
24747
27054
|
"type": "object",
|
|
24748
27055
|
"fields": [
|
|
27056
|
+
{
|
|
27057
|
+
"name": "className",
|
|
27058
|
+
"type": "string",
|
|
27059
|
+
"required": false,
|
|
27060
|
+
"description": "Extra classes on the notification centre."
|
|
27061
|
+
},
|
|
27062
|
+
{
|
|
27063
|
+
"name": "dayLabels",
|
|
27064
|
+
"type": "enum",
|
|
27065
|
+
"enum": [
|
|
27066
|
+
"exact",
|
|
27067
|
+
"relative"
|
|
27068
|
+
],
|
|
27069
|
+
"required": false,
|
|
27070
|
+
"description": "Today and Yesterday, or the exact date for each day heading."
|
|
27071
|
+
},
|
|
27072
|
+
{
|
|
27073
|
+
"name": "defaultOpen",
|
|
27074
|
+
"type": "boolean",
|
|
27075
|
+
"required": false,
|
|
27076
|
+
"description": "Starts with the panel open."
|
|
27077
|
+
},
|
|
27078
|
+
{
|
|
27079
|
+
"name": "earlierHref",
|
|
27080
|
+
"type": "url",
|
|
27081
|
+
"required": false,
|
|
27082
|
+
"description": "A See earlier link at the end of the Unread tab."
|
|
27083
|
+
},
|
|
24749
27084
|
{
|
|
24750
27085
|
"name": "emptyText",
|
|
24751
27086
|
"type": "string",
|
|
24752
27087
|
"required": false,
|
|
24753
|
-
"description": "Text shown when
|
|
27088
|
+
"description": "Text shown when there are no items. Defaults to You are all caught up."
|
|
24754
27089
|
},
|
|
24755
27090
|
{
|
|
24756
|
-
"name": "
|
|
24757
|
-
"type": "
|
|
24758
|
-
"
|
|
24759
|
-
{
|
|
24760
|
-
"name": "href",
|
|
24761
|
-
"type": "url",
|
|
24762
|
-
"required": false,
|
|
24763
|
-
"description": "Where the notification links."
|
|
24764
|
-
},
|
|
24765
|
-
{
|
|
24766
|
-
"name": "icon",
|
|
24767
|
-
"type": "icon",
|
|
24768
|
-
"required": false,
|
|
24769
|
-
"description": "A library icon name for the notification."
|
|
24770
|
-
},
|
|
24771
|
-
{
|
|
24772
|
-
"name": "id",
|
|
24773
|
-
"type": "string",
|
|
24774
|
-
"required": false,
|
|
24775
|
-
"description": "Stable id of the notification."
|
|
24776
|
-
},
|
|
24777
|
-
{
|
|
24778
|
-
"name": "read",
|
|
24779
|
-
"type": "boolean",
|
|
24780
|
-
"required": false,
|
|
24781
|
-
"description": "True when the notification has been read."
|
|
24782
|
-
},
|
|
27091
|
+
"name": "error",
|
|
27092
|
+
"type": "object",
|
|
27093
|
+
"fields": [
|
|
24783
27094
|
{
|
|
24784
|
-
"name": "
|
|
27095
|
+
"name": "text",
|
|
24785
27096
|
"type": "string",
|
|
24786
27097
|
"required": false,
|
|
24787
|
-
"description": "
|
|
24788
|
-
},
|
|
24789
|
-
{
|
|
24790
|
-
"name": "title",
|
|
24791
|
-
"type": "string",
|
|
24792
|
-
"required": true,
|
|
24793
|
-
"description": "The notification's text."
|
|
27098
|
+
"description": "The message. Without it the built-in Notifications did not load shows."
|
|
24794
27099
|
}
|
|
24795
27100
|
],
|
|
24796
27101
|
"required": false,
|
|
24797
|
-
"description": "
|
|
27102
|
+
"description": "Shows the message with a Try again action in place of the list. Its onRetry handler is passed in code."
|
|
27103
|
+
},
|
|
27104
|
+
{
|
|
27105
|
+
"name": "items",
|
|
27106
|
+
"type": "array",
|
|
27107
|
+
"required": true,
|
|
27108
|
+
"description": "The notifications, newest first."
|
|
24798
27109
|
},
|
|
24799
27110
|
{
|
|
24800
27111
|
"name": "label",
|
|
24801
27112
|
"type": "string",
|
|
24802
27113
|
"required": false,
|
|
24803
|
-
"description": "The
|
|
27114
|
+
"description": "The notification centre's name and the panel heading. Defaults to Notifications."
|
|
24804
27115
|
},
|
|
24805
27116
|
{
|
|
24806
27117
|
"name": "loading",
|
|
24807
27118
|
"type": "boolean",
|
|
24808
27119
|
"required": false,
|
|
24809
|
-
"description": "Shows
|
|
27120
|
+
"description": "Shows Loading notifications in place of the list."
|
|
27121
|
+
},
|
|
27122
|
+
{
|
|
27123
|
+
"name": "now",
|
|
27124
|
+
"type": "stringOrNumber",
|
|
27125
|
+
"required": false,
|
|
27126
|
+
"description": "The clock for Today and Yesterday, as ISO text or epoch milliseconds."
|
|
27127
|
+
},
|
|
27128
|
+
{
|
|
27129
|
+
"name": "tabs",
|
|
27130
|
+
"type": "any",
|
|
27131
|
+
"required": false,
|
|
27132
|
+
"description": "true for the tabs All, Unread and Archived, or the tabs to show in order. Absent: no tab strip."
|
|
24810
27133
|
},
|
|
24811
27134
|
{
|
|
24812
27135
|
"name": "unread",
|
|
24813
27136
|
"type": "number",
|
|
24814
27137
|
"required": false,
|
|
24815
|
-
"description": "
|
|
27138
|
+
"description": "The badge count when it is larger than the items listed. It shows 99+ above 99."
|
|
24816
27139
|
},
|
|
24817
27140
|
{
|
|
24818
27141
|
"name": "viewAllHref",
|
|
@@ -24822,7 +27145,7 @@
|
|
|
24822
27145
|
}
|
|
24823
27146
|
],
|
|
24824
27147
|
"required": false,
|
|
24825
|
-
"description": "The notification
|
|
27148
|
+
"description": "The notification centre in the topbar, after topbarEnd. Its fields are AppNotificationCenter's."
|
|
24826
27149
|
},
|
|
24827
27150
|
{
|
|
24828
27151
|
"name": "openNavLabel",
|
|
@@ -25125,7 +27448,7 @@
|
|
|
25125
27448
|
"name": "topbarEnd",
|
|
25126
27449
|
"type": "node",
|
|
25127
27450
|
"required": false,
|
|
25128
|
-
"description": "Trailing topbar slot for page actions. The
|
|
27451
|
+
"description": "Trailing topbar slot for page actions. The notification centre and account menu follow it."
|
|
25129
27452
|
},
|
|
25130
27453
|
{
|
|
25131
27454
|
"name": "topbarStart",
|
|
@@ -25144,27 +27467,6 @@
|
|
|
25144
27467
|
"description": "The top bar's colour. Primary paints the bar in the primary colour, with the ink that reads on it. The search field keeps its own surface.",
|
|
25145
27468
|
"default": "neutral"
|
|
25146
27469
|
},
|
|
25147
|
-
{
|
|
25148
|
-
"name": "unreadBellLabel",
|
|
25149
|
-
"type": "string",
|
|
25150
|
-
"required": false,
|
|
25151
|
-
"description": "Replaces the built-in English text, for other languages. {label} is the bell's label and {count} the unread count.",
|
|
25152
|
-
"default": "{label}, {count} unread"
|
|
25153
|
-
},
|
|
25154
|
-
{
|
|
25155
|
-
"name": "unreadLabel",
|
|
25156
|
-
"type": "string",
|
|
25157
|
-
"required": false,
|
|
25158
|
-
"description": "Replaces the built-in English text, for other languages.",
|
|
25159
|
-
"default": "Unread"
|
|
25160
|
-
},
|
|
25161
|
-
{
|
|
25162
|
-
"name": "unreadNotificationsText",
|
|
25163
|
-
"type": "string",
|
|
25164
|
-
"required": false,
|
|
25165
|
-
"description": "Replaces the built-in English text, for other languages. {count} is the unread count.",
|
|
25166
|
-
"default": "{count} unread notifications"
|
|
25167
|
-
},
|
|
25168
27470
|
{
|
|
25169
27471
|
"name": "userMenu",
|
|
25170
27472
|
"type": "object",
|
|
@@ -25295,13 +27597,6 @@
|
|
|
25295
27597
|
],
|
|
25296
27598
|
"required": false,
|
|
25297
27599
|
"description": "The account menu at the end of the topbar."
|
|
25298
|
-
},
|
|
25299
|
-
{
|
|
25300
|
-
"name": "viewAllLabel",
|
|
25301
|
-
"type": "string",
|
|
25302
|
-
"required": false,
|
|
25303
|
-
"description": "Replaces the built-in English text, for other languages.",
|
|
25304
|
-
"default": "View all"
|
|
25305
27600
|
}
|
|
25306
27601
|
],
|
|
25307
27602
|
"itemsTakeAction": [
|
|
@@ -25338,7 +27633,7 @@
|
|
|
25338
27633
|
"a11y": [
|
|
25339
27634
|
"The sidebar is a nav landmark named by navLabel, the phone tab bar is a nav named by tabBarLabel, a skip link jumps to the content, and the current page carries aria-current.",
|
|
25340
27635
|
"The collapse, menu and sub-list buttons are named and report aria-expanded; Escape closes the open navigation drawer, and a closed sub-list is inert and hidden from assistive technology.",
|
|
25341
|
-
"The account menu button is named with the person's name, the
|
|
27636
|
+
"The account menu button is named with the person's name, the notification centre is named with its unread count and announces changes in a polite live region, and the topbar search is a combobox with a listbox of suggestions."
|
|
25342
27637
|
]
|
|
25343
27638
|
}
|
|
25344
27639
|
},
|
|
@@ -27479,6 +29774,13 @@
|
|
|
27479
29774
|
"description": "The stages of the flow, in order. A step with href links back to that stage. Each step may carry a unique `key`.",
|
|
27480
29775
|
"default": []
|
|
27481
29776
|
},
|
|
29777
|
+
{
|
|
29778
|
+
"name": "sticky",
|
|
29779
|
+
"type": "boolean",
|
|
29780
|
+
"required": false,
|
|
29781
|
+
"description": "Pins the step list to the top of its column, under the shell top bar, so it stays in view while a long step scrolls.",
|
|
29782
|
+
"default": false
|
|
29783
|
+
},
|
|
27482
29784
|
{
|
|
27483
29785
|
"name": "tone",
|
|
27484
29786
|
"type": "enum",
|
|
@@ -28538,6 +30840,13 @@
|
|
|
28538
30840
|
"description": "The size of the tabs.",
|
|
28539
30841
|
"default": "md"
|
|
28540
30842
|
},
|
|
30843
|
+
{
|
|
30844
|
+
"name": "sticky",
|
|
30845
|
+
"type": "boolean",
|
|
30846
|
+
"required": false,
|
|
30847
|
+
"description": "Pins the strip to the top of the page while it scrolls, directly under the top bar and a sticky page header. The strip stops under every sticky layer above it, so none overlaps. Razor: sticky.",
|
|
30848
|
+
"default": false
|
|
30849
|
+
},
|
|
28541
30850
|
{
|
|
28542
30851
|
"name": "tabs",
|
|
28543
30852
|
"type": "array",
|
|
@@ -29476,6 +31785,15 @@
|
|
|
29476
31785
|
"type": "string",
|
|
29477
31786
|
"required": false,
|
|
29478
31787
|
"description": "The time as 24-hour \"HH:mm\" text, which is also the wire format."
|
|
31788
|
+
},
|
|
31789
|
+
{
|
|
31790
|
+
"name": "variant",
|
|
31791
|
+
"type": "enum",
|
|
31792
|
+
"enum": [
|
|
31793
|
+
"underline"
|
|
31794
|
+
],
|
|
31795
|
+
"required": false,
|
|
31796
|
+
"description": "Underline keeps only a line under the field."
|
|
29479
31797
|
}
|
|
29480
31798
|
],
|
|
29481
31799
|
"itemsTakeAction": [],
|
|
@@ -31380,6 +33698,13 @@
|
|
|
31380
33698
|
"description": "The step the wizard starts on when it is not controlled.",
|
|
31381
33699
|
"default": 0
|
|
31382
33700
|
},
|
|
33701
|
+
{
|
|
33702
|
+
"name": "dirty",
|
|
33703
|
+
"type": "boolean",
|
|
33704
|
+
"required": false,
|
|
33705
|
+
"description": "Marks unsaved changes: the top-bar close asks before leaving, and the leave dialog opens with Keep editing focused.",
|
|
33706
|
+
"default": false
|
|
33707
|
+
},
|
|
31383
33708
|
{
|
|
31384
33709
|
"name": "disabled",
|
|
31385
33710
|
"type": "boolean",
|
|
@@ -31400,6 +33725,12 @@
|
|
|
31400
33725
|
"required": false,
|
|
31401
33726
|
"description": "Recolours completed steps only (their badge, STEP n eyebrow and the filled line after them). The current step keeps the tone accent; unset, completed steps follow tone."
|
|
31402
33727
|
},
|
|
33728
|
+
{
|
|
33729
|
+
"name": "extraActions",
|
|
33730
|
+
"type": "node",
|
|
33731
|
+
"required": false,
|
|
33732
|
+
"description": "Extra actions in the footer, such as Save draft, placed before Next."
|
|
33733
|
+
},
|
|
31403
33734
|
{
|
|
31404
33735
|
"name": "finishLabel",
|
|
31405
33736
|
"type": "string",
|
|
@@ -31407,6 +33738,13 @@
|
|
|
31407
33738
|
"description": "The text of the Finish button on the last step.",
|
|
31408
33739
|
"default": "Finish"
|
|
31409
33740
|
},
|
|
33741
|
+
{
|
|
33742
|
+
"name": "finishLoading",
|
|
33743
|
+
"type": "boolean",
|
|
33744
|
+
"required": false,
|
|
33745
|
+
"description": "Disables Finish and marks it busy while the final submit runs.",
|
|
33746
|
+
"default": false
|
|
33747
|
+
},
|
|
31410
33748
|
{
|
|
31411
33749
|
"name": "hideConnectors",
|
|
31412
33750
|
"type": "boolean",
|
|
@@ -31499,6 +33837,12 @@
|
|
|
31499
33837
|
"description": "Shows a Skip button on every step but the last, without needing optional on each step.",
|
|
31500
33838
|
"default": false
|
|
31501
33839
|
},
|
|
33840
|
+
{
|
|
33841
|
+
"name": "status",
|
|
33842
|
+
"type": "node",
|
|
33843
|
+
"required": false,
|
|
33844
|
+
"description": "Content at the left of the footer, such as a draft-saved line."
|
|
33845
|
+
},
|
|
31502
33846
|
{
|
|
31503
33847
|
"name": "steps",
|
|
31504
33848
|
"type": "array",
|
|
@@ -31509,6 +33853,12 @@
|
|
|
31509
33853
|
"required": false,
|
|
31510
33854
|
"description": "An optional second line under the label."
|
|
31511
33855
|
},
|
|
33856
|
+
{
|
|
33857
|
+
"name": "errorCount",
|
|
33858
|
+
"type": "number",
|
|
33859
|
+
"required": false,
|
|
33860
|
+
"description": "A count of fields to fix, shown as \"N to fix\" in place of the description. 0 shows nothing."
|
|
33861
|
+
},
|
|
31512
33862
|
{
|
|
31513
33863
|
"name": "icon",
|
|
31514
33864
|
"type": "string",
|
|
@@ -31550,6 +33900,13 @@
|
|
|
31550
33900
|
"description": "One entry per step, in step order. A list that is not an array of objects with a text label is refused with a thrown error, and an unknown field warns in development.",
|
|
31551
33901
|
"default": []
|
|
31552
33902
|
},
|
|
33903
|
+
{
|
|
33904
|
+
"name": "stickyFooter",
|
|
33905
|
+
"type": "boolean",
|
|
33906
|
+
"required": false,
|
|
33907
|
+
"description": "Pins Back, Next and Finish to the bottom of the wizard's surface.",
|
|
33908
|
+
"default": false
|
|
33909
|
+
},
|
|
31553
33910
|
{
|
|
31554
33911
|
"name": "tone",
|
|
31555
33912
|
"type": "enum",
|
|
@@ -32261,6 +34618,7 @@
|
|
|
32261
34618
|
"online-fill",
|
|
32262
34619
|
"primary",
|
|
32263
34620
|
"primary-hover",
|
|
34621
|
+
"primary-pressed",
|
|
32264
34622
|
"primary-soft",
|
|
32265
34623
|
"primary-text",
|
|
32266
34624
|
"primary-wash",
|
|
@@ -32450,6 +34808,7 @@
|
|
|
32450
34808
|
"online-fill": "Fill of the back-online network banner: the source green, not the contrast-darkened success fill.",
|
|
32451
34809
|
"primary": "Primary fill for buttons, selected states and borders.",
|
|
32452
34810
|
"primary-hover": "Primary fill while a control is hovered or pressed.",
|
|
34811
|
+
"primary-pressed": "Primary fill while a control is pressed.",
|
|
32453
34812
|
"primary-soft": "Soft primary tint behind selected and highlighted rows.",
|
|
32454
34813
|
"primary-text": "Primary as text and small glyphs on a page.",
|
|
32455
34814
|
"primary-wash": "Faint translucent primary wash over a surface.",
|
|
@@ -32805,6 +35164,10 @@
|
|
|
32805
35164
|
"light": "#4338ca",
|
|
32806
35165
|
"dark": "#c3c0f8"
|
|
32807
35166
|
},
|
|
35167
|
+
"primary-pressed": {
|
|
35168
|
+
"light": "#4338ca",
|
|
35169
|
+
"dark": "#c3c0f8"
|
|
35170
|
+
},
|
|
32808
35171
|
"primary-soft": {
|
|
32809
35172
|
"light": "#e0e7ff",
|
|
32810
35173
|
"dark": "#4f46e533"
|
|
@@ -34968,6 +37331,16 @@
|
|
|
34968
37331
|
"version": "0.177.0",
|
|
34969
37332
|
"components": [],
|
|
34970
37333
|
"values": {}
|
|
37334
|
+
},
|
|
37335
|
+
{
|
|
37336
|
+
"version": "0.178.0",
|
|
37337
|
+
"components": [],
|
|
37338
|
+
"values": {}
|
|
37339
|
+
},
|
|
37340
|
+
{
|
|
37341
|
+
"version": "0.179.0",
|
|
37342
|
+
"components": [],
|
|
37343
|
+
"values": {}
|
|
34971
37344
|
}
|
|
34972
37345
|
]
|
|
34973
37346
|
}
|