rift-ds 1.28.0 → 1.30.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/README.md +5 -4
- package/bin/rift-ds.mjs +5 -4
- package/bin/templates/app/components/rift/ColorModeScript.tsx +7 -3
- package/bin/templates/blocks/app/settings/ProfileForm.tsx +98 -0
- package/bin/templates/blocks/app/settings/page.module.css +11 -0
- package/bin/templates/blocks/app/settings/page.tsx +84 -0
- package/bin/templates/blocks/app/shader/page.module.css +75 -0
- package/bin/templates/blocks/app/shader/page.tsx +81 -0
- package/bin/templates/blocks/components/blocks/AppShell.module.css +8 -41
- package/bin/templates/blocks/components/blocks/AppShell.tsx +9 -11
- package/bin/templates/blocks/components/blocks/emberScene.ts +53 -0
- package/bin/templates/blocks/registry.json +24 -0
- package/bin/templates/chat/app/api/chat/feedback/route.ts +0 -3
- package/bin/templates/chat/app/api/chat/followups/route.ts +0 -3
- package/bin/templates/chat/app/api/chat/route.ts +0 -2
- package/chat/ChatLauncher.d.ts +9 -1
- package/chat/ChatLauncher.js +3 -1
- package/chat/threads.js +7 -4
- package/components/Alert/Alert.css +12 -0
- package/components/Alert/Alert.d.ts +2 -0
- package/components/Alert/Alert.js +3 -1
- package/components/Attachment/Attachment.css +92 -0
- package/components/Attachment/FileRow.d.ts +47 -0
- package/components/Attachment/FileRow.js +38 -0
- package/components/Avatar/Avatar.css +14 -0
- package/components/Avatar/Avatar.d.ts +3 -1
- package/components/Avatar/Avatar.js +3 -2
- package/components/Button/Button.css +38 -0
- package/components/Button/Button.d.ts +8 -0
- package/components/Button/Button.js +2 -0
- package/components/Chart/AreaChart.d.ts +2 -0
- package/components/Chart/AreaChart.js +2 -1
- package/components/Chart/BarChart.d.ts +2 -0
- package/components/Chart/BarChart.js +2 -1
- package/components/Chart/ComboChart.d.ts +4 -0
- package/components/Chart/ComboChart.js +4 -2
- package/components/Chart/LineChart.d.ts +2 -0
- package/components/Chart/LineChart.js +2 -1
- package/components/Chart/PieChart.d.ts +4 -4
- package/components/Chart/PieChart.js +1 -1
- package/components/Chart/ScatterChart.d.ts +2 -0
- package/components/Chart/ScatterChart.js +2 -1
- package/components/Checklist/Checklist.css +123 -0
- package/components/Checklist/Checklist.d.ts +66 -0
- package/components/Checklist/Checklist.js +115 -0
- package/components/CircularButton/CircularButton.css +39 -0
- package/components/CircularButton/CircularButton.d.ts +13 -0
- package/components/CircularButton/CircularButton.js +18 -4
- package/components/ColourSwatch/ColourSwatch.css +3 -1
- package/components/ColourSwatch/ColourSwatch.d.ts +5 -3
- package/components/ColourSwatch/ColourSwatch.js +5 -0
- package/components/Combobox/Combobox.d.ts +4 -2
- package/components/Combobox/Combobox.js +7 -3
- package/components/DataTable/DataTable.css +35 -0
- package/components/DataTable/DataTable.d.ts +34 -2
- package/components/DataTable/DataTable.js +58 -5
- package/components/DataTable/columnTypes.d.ts +1 -1
- package/components/DataTable/columnTypes.js +1 -1
- package/components/DateInput/DateInput.d.ts +4 -2
- package/components/DateInput/DateInput.js +7 -3
- package/components/DescriptionList/DescriptionList.css +28 -0
- package/components/DescriptionList/DescriptionList.d.ts +3 -1
- package/components/DescriptionList/DescriptionList.js +4 -3
- package/components/DescriptionList/DescriptionListCopy.js +2 -0
- package/components/Dropdown/Dropdown.d.ts +4 -2
- package/components/Dropdown/Dropdown.js +7 -3
- package/components/EmptyState/EmptyState.css +12 -0
- package/components/EmptyState/EmptyState.d.ts +7 -0
- package/components/EmptyState/EmptyState.js +2 -0
- package/components/EventCalendar/EventCalendar.css +59 -0
- package/components/EventCalendar/EventCalendar.d.ts +24 -2
- package/components/EventCalendar/EventCalendar.js +104 -19
- package/components/FormSection/FormSection.css +70 -0
- package/components/FormSection/FormSection.d.ts +35 -0
- package/components/FormSection/FormSection.js +35 -0
- package/components/Grid/Grid.css +52 -0
- package/components/Grid/Grid.d.ts +30 -0
- package/components/Grid/Grid.js +36 -0
- package/components/Icon/Icon.css +55 -0
- package/components/Icon/Icon.d.ts +27 -0
- package/components/Icon/Icon.js +42 -0
- package/components/NumberInput/NumberInput.d.ts +4 -2
- package/components/NumberInput/NumberInput.js +7 -3
- package/components/OrgChart/OrgChart.css +143 -0
- package/components/OrgChart/OrgChart.d.ts +44 -0
- package/components/OrgChart/OrgChart.js +26 -0
- package/components/PageHeader/PageHeader.css +74 -0
- package/components/PageHeader/PageHeader.d.ts +39 -0
- package/components/PageHeader/PageHeader.js +33 -0
- package/components/Panel/Panel.css +7 -0
- package/components/Panel/Panel.d.ts +5 -2
- package/components/Panel/Panel.js +2 -1
- package/components/ResourceTimeline/ResourceTimeline.css +194 -0
- package/components/ResourceTimeline/ResourceTimeline.d.ts +57 -0
- package/components/ResourceTimeline/ResourceTimeline.js +129 -0
- package/components/ShaderField/useShaderField.js +13 -1
- package/components/ShaderScene/ShaderScene.d.ts +39 -15
- package/components/ShaderScene/ShaderScene.js +87 -6
- package/components/ShaderScene/assemble.d.ts +10 -3
- package/components/ShaderScene/assemble.js +29 -0
- package/components/ShaderScene/renderer.d.ts +12 -4
- package/components/ShaderScene/renderer.js +32 -20
- package/components/ShaderScene/scenes.d.ts +78 -0
- package/components/ShaderScene/scenes.js +933 -1
- package/components/ShaderScene/types.d.ts +52 -23
- package/components/Stack/Stack.css +68 -0
- package/components/Stack/Stack.d.ts +37 -0
- package/components/Stack/Stack.js +39 -0
- package/components/Stat/Stat.css +65 -0
- package/components/Stat/Stat.d.ts +7 -1
- package/components/Stat/Stat.js +16 -1
- package/components/Table/Table.css +11 -0
- package/components/Table/Table.d.ts +2 -0
- package/components/Table/Table.js +5 -1
- package/components/Tabs/Tabs.css +23 -0
- package/components/Tabs/Tabs.d.ts +9 -8
- package/components/Tabs/Tabs.js +38 -5
- package/components/Textarea/Textarea.d.ts +4 -2
- package/components/Textarea/Textarea.js +7 -3
- package/components/ThemeToggle/colorMode.d.ts +17 -1
- package/components/ThemeToggle/colorMode.js +11 -2
- package/components/Widget/Widget.css +21 -0
- package/components/Widget/Widget.d.ts +4 -0
- package/components/Widget/Widget.js +13 -5
- package/components/Wizard/Wizard.css +67 -0
- package/components/Wizard/Wizard.d.ts +54 -0
- package/components/Wizard/Wizard.js +71 -0
- package/components/registry.d.ts +25 -0
- package/components/registry.js +8 -0
- package/components/registry.json +234 -33
- package/components/registry.json.d.ts +234 -33
- package/components/registry.json.js +1 -1
- package/index.d.ts +10 -0
- package/index.js +20 -0
- package/package.json +1 -1
- package/tokens/motion.d.ts +2 -0
- package/tokens/motion.js +2 -0
- package/tokens/values.d.ts +31 -0
- package/tokens/values.js +16 -0
- package/tokens/values.json.js +1 -1
|
@@ -102,7 +102,10 @@ declare const _default: {
|
|
|
102
102
|
"description": "A collapsible checklist of an agent's task, with live step states and a progress readout.",
|
|
103
103
|
"category": "ai",
|
|
104
104
|
"client": true,
|
|
105
|
-
"partPatterns": [{ "pattern": "disclosure", "part": "collapsible section" }]
|
|
105
|
+
"partPatterns": [{ "pattern": "disclosure", "part": "collapsible section" }],
|
|
106
|
+
"alternatives": [
|
|
107
|
+
{ "name": "Checklist", "when": "the tasks are the reader’s own to tick off, each with an owner" }
|
|
108
|
+
]
|
|
106
109
|
},
|
|
107
110
|
{
|
|
108
111
|
"name": "AgentRail",
|
|
@@ -147,7 +150,10 @@ declare const _default: {
|
|
|
147
150
|
"description": "Modal confirmation overlay with title, description, and confirm / cancel actions.",
|
|
148
151
|
"category": "overlays",
|
|
149
152
|
"client": true,
|
|
150
|
-
"pattern": "dialog"
|
|
153
|
+
"pattern": "dialog",
|
|
154
|
+
"alternatives": [
|
|
155
|
+
{ "name": "Dialog", "when": "the task needs more than a confirm or a cancel" }
|
|
156
|
+
]
|
|
151
157
|
},
|
|
152
158
|
{
|
|
153
159
|
"name": "AnchorNav",
|
|
@@ -242,7 +248,10 @@ declare const _default: {
|
|
|
242
248
|
"category": "ai",
|
|
243
249
|
"client": false,
|
|
244
250
|
"folder": "Attachment",
|
|
245
|
-
"keys": { "by": "none" }
|
|
251
|
+
"keys": { "by": "none" },
|
|
252
|
+
"alternatives": [
|
|
253
|
+
{ "name": "FileRow", "when": "the file is one of a list of documents, read as rows" }
|
|
254
|
+
]
|
|
246
255
|
},
|
|
247
256
|
{
|
|
248
257
|
"name": "AttachmentViewer",
|
|
@@ -258,7 +267,7 @@ declare const _default: {
|
|
|
258
267
|
"name": "Avatar",
|
|
259
268
|
"label": "Avatar",
|
|
260
269
|
"slug": "avatar",
|
|
261
|
-
"description": "
|
|
270
|
+
"description": "A person's or an organisation's image, with initials and icon fallback, a status indicator, and multiple sizes.",
|
|
262
271
|
"category": "data-display",
|
|
263
272
|
"client": true,
|
|
264
273
|
"keys": { "by": "none" }
|
|
@@ -426,7 +435,22 @@ declare const _default: {
|
|
|
426
435
|
"description": "Custom checkbox with check and indeterminate states, keyboard accessible with animated transitions.",
|
|
427
436
|
"category": "forms",
|
|
428
437
|
"client": true,
|
|
429
|
-
"pattern": "checkbox"
|
|
438
|
+
"pattern": "checkbox",
|
|
439
|
+
"alternatives": [
|
|
440
|
+
{ "name": "RadioButton", "when": "only one option can be chosen" }
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "Checklist",
|
|
445
|
+
"label": "Checklist",
|
|
446
|
+
"slug": "checklist",
|
|
447
|
+
"description": "Tasks with a done state each, an owner and an action, under a count done and a progress bar.",
|
|
448
|
+
"category": "data-display",
|
|
449
|
+
"client": true,
|
|
450
|
+
"partPatterns": [{ "pattern": "checkbox", "part": "tasks" }],
|
|
451
|
+
"alternatives": [
|
|
452
|
+
{ "name": "AgentPlan", "when": "the list is an agent’s plan that it works through itself, with live step states" }
|
|
453
|
+
]
|
|
430
454
|
},
|
|
431
455
|
{
|
|
432
456
|
"name": "Chip",
|
|
@@ -491,7 +515,11 @@ declare const _default: {
|
|
|
491
515
|
"description": "A filterable select that narrows options as the user types, with multi-select chips, grouping, and async loading.",
|
|
492
516
|
"category": "forms",
|
|
493
517
|
"client": true,
|
|
494
|
-
"pattern": "combobox"
|
|
518
|
+
"pattern": "combobox",
|
|
519
|
+
"alternatives": [
|
|
520
|
+
{ "name": "Dropdown", "when": "the option list is short and static" },
|
|
521
|
+
{ "name": "TagInput", "when": "the entries are free text" }
|
|
522
|
+
]
|
|
495
523
|
},
|
|
496
524
|
{
|
|
497
525
|
"name": "CommandPalette",
|
|
@@ -537,7 +565,10 @@ declare const _default: {
|
|
|
537
565
|
"description": "Right-click menu at the pointer with groups, sub-menus, and shortcut hints.",
|
|
538
566
|
"category": "overlays",
|
|
539
567
|
"client": true,
|
|
540
|
-
"pattern": "menu"
|
|
568
|
+
"pattern": "menu",
|
|
569
|
+
"alternatives": [
|
|
570
|
+
{ "name": "DropdownMenu", "when": "the menu opens from a visible trigger" }
|
|
571
|
+
]
|
|
541
572
|
},
|
|
542
573
|
{
|
|
543
574
|
"name": "ContributionGraph",
|
|
@@ -564,7 +595,10 @@ declare const _default: {
|
|
|
564
595
|
"description": "The wired table: typed columns, sorting, filters, editing, grouping with totals, row details, saved views, thousands of rows, and rows from a server.",
|
|
565
596
|
"category": "data-display",
|
|
566
597
|
"client": true,
|
|
567
|
-
"keys": { "by": "component", "note": "In grid navigation the arrow keys move between cells, Enter or F2 starts an edit and Escape cancels it. The page has the full table of keys." }
|
|
598
|
+
"keys": { "by": "component", "note": "In grid navigation the arrow keys move between cells, Enter or F2 starts an edit and Escape cancels it. The page has the full table of keys." },
|
|
599
|
+
"alternatives": [
|
|
600
|
+
{ "name": "Table", "when": "the rows are static and only need laying out" }
|
|
601
|
+
]
|
|
568
602
|
},
|
|
569
603
|
{
|
|
570
604
|
"name": "DateInput",
|
|
@@ -618,7 +652,10 @@ declare const _default: {
|
|
|
618
652
|
"description": "A general-purpose modal for focused tasks, with sizes, an optional footer, and full focus management.",
|
|
619
653
|
"category": "overlays",
|
|
620
654
|
"client": true,
|
|
621
|
-
"pattern": "dialog"
|
|
655
|
+
"pattern": "dialog",
|
|
656
|
+
"alternatives": [
|
|
657
|
+
{ "name": "AlertDialog", "when": "the task is a simple confirm-or-cancel prompt" }
|
|
658
|
+
]
|
|
622
659
|
},
|
|
623
660
|
{
|
|
624
661
|
"name": "Divider",
|
|
@@ -663,7 +700,13 @@ declare const _default: {
|
|
|
663
700
|
"description": "Custom select dropdown with keyboard navigation, disabled options, and error states.",
|
|
664
701
|
"category": "forms",
|
|
665
702
|
"client": true,
|
|
666
|
-
"pattern": "combobox"
|
|
703
|
+
"pattern": "combobox",
|
|
704
|
+
"alternatives": [
|
|
705
|
+
{ "name": "Combobox", "when": "the option list is long, searchable or server-backed" },
|
|
706
|
+
{ "name": "DropdownMenu", "when": "the options are actions, not a form value" },
|
|
707
|
+
{ "name": "RadioButton", "when": "the options are few enough to show all at once" },
|
|
708
|
+
{ "name": "RichDropdown", "when": "the whole look of each choice is the point, such as a theme preset or a brand kit" }
|
|
709
|
+
]
|
|
667
710
|
},
|
|
668
711
|
{
|
|
669
712
|
"name": "DropdownMenu",
|
|
@@ -672,13 +715,17 @@ declare const _default: {
|
|
|
672
715
|
"description": "Action menu opened from a trigger, with groups, sub-menus, shortcuts, radio and checkbox items, placed to stay on screen.",
|
|
673
716
|
"category": "overlays",
|
|
674
717
|
"client": true,
|
|
675
|
-
"pattern": "menu"
|
|
718
|
+
"pattern": "menu",
|
|
719
|
+
"alternatives": [
|
|
720
|
+
{ "name": "ContextMenu", "when": "the menu opens on the content itself" },
|
|
721
|
+
{ "name": "Dropdown", "when": "the choice is a form value" }
|
|
722
|
+
]
|
|
676
723
|
},
|
|
677
724
|
{
|
|
678
725
|
"name": "EmptyState",
|
|
679
726
|
"label": "Empty state",
|
|
680
727
|
"slug": "empty-state",
|
|
681
|
-
"description": "The placeholder for a list, table, or search with nothing to show: icon, headline, guidance, and a next action.",
|
|
728
|
+
"description": "The placeholder for a list, table, or search with nothing to show, or the result at the end of a flow: icon, headline, guidance, and a next action.",
|
|
682
729
|
"category": "feedback",
|
|
683
730
|
"client": false,
|
|
684
731
|
"keys": { "by": "none" }
|
|
@@ -714,7 +761,7 @@ declare const _default: {
|
|
|
714
761
|
"name": "EventCalendar",
|
|
715
762
|
"label": "Event calendar",
|
|
716
763
|
"slug": "event-calendar",
|
|
717
|
-
"description": "A month
|
|
764
|
+
"description": "A month or a week of events: pills on their days, overflow counts in the month, a legend, and navigation by month or week.",
|
|
718
765
|
"category": "data-display",
|
|
719
766
|
"client": true,
|
|
720
767
|
"partPatterns": [{ "pattern": "button", "part": "navigation buttons" }]
|
|
@@ -746,6 +793,19 @@ declare const _default: {
|
|
|
746
793
|
"client": true,
|
|
747
794
|
"pattern": "button"
|
|
748
795
|
},
|
|
796
|
+
{
|
|
797
|
+
"name": "FileRow",
|
|
798
|
+
"label": "File row",
|
|
799
|
+
"slug": "file-row",
|
|
800
|
+
"description": "One file in a list: its type mark, its name as a link or a button, a line of detail and controls at the end.",
|
|
801
|
+
"category": "data-display",
|
|
802
|
+
"folder": "Attachment",
|
|
803
|
+
"client": false,
|
|
804
|
+
"keys": { "by": "platform", "note": "The name is a native link or button and the actions passed in are native controls, reached with Tab." },
|
|
805
|
+
"alternatives": [
|
|
806
|
+
{ "name": "AttachmentTile", "when": "the file sits on a chat message or in a composer, shown as a square" }
|
|
807
|
+
]
|
|
808
|
+
},
|
|
749
809
|
{
|
|
750
810
|
"name": "FilterBar",
|
|
751
811
|
"label": "Filter bar",
|
|
@@ -755,6 +815,18 @@ declare const _default: {
|
|
|
755
815
|
"client": true,
|
|
756
816
|
"partPatterns": [{ "pattern": "listbox", "part": "list of options" }]
|
|
757
817
|
},
|
|
818
|
+
{
|
|
819
|
+
"name": "FormSection",
|
|
820
|
+
"label": "Form section",
|
|
821
|
+
"slug": "form-section",
|
|
822
|
+
"description": "A part of a form or a settings page: a heading and its sentence, the fields in a grid, and the section’s own actions.",
|
|
823
|
+
"category": "forms",
|
|
824
|
+
"client": false,
|
|
825
|
+
"keys": { "by": "platform", "note": "It holds the fields and actions passed in, each a native control reached with Tab." },
|
|
826
|
+
"alternatives": [
|
|
827
|
+
{ "name": "Widget", "when": "the section is a dashboard tile rather than part of a form" }
|
|
828
|
+
]
|
|
829
|
+
},
|
|
758
830
|
{
|
|
759
831
|
"name": "FunnelChart",
|
|
760
832
|
"label": "Funnel chart",
|
|
@@ -772,7 +844,10 @@ declare const _default: {
|
|
|
772
844
|
"description": "Phases and tasks as bars on a shared timeline, with milestones, progress, and a today rule.",
|
|
773
845
|
"category": "charts",
|
|
774
846
|
"client": false,
|
|
775
|
-
"keys": { "by": "none" }
|
|
847
|
+
"keys": { "by": "none" },
|
|
848
|
+
"alternatives": [
|
|
849
|
+
{ "name": "ResourceTimeline", "when": "the bars run over hours within one day" }
|
|
850
|
+
]
|
|
776
851
|
},
|
|
777
852
|
{
|
|
778
853
|
"name": "Gauge",
|
|
@@ -792,6 +867,19 @@ declare const _default: {
|
|
|
792
867
|
"client": true,
|
|
793
868
|
"keys": { "by": "component", "note": "The arrow keys turn the globe while it has focus." }
|
|
794
869
|
},
|
|
870
|
+
{
|
|
871
|
+
"name": "Grid",
|
|
872
|
+
"label": "Grid",
|
|
873
|
+
"slug": "grid",
|
|
874
|
+
"description": "Equal columns that fold by their own width, with a gap from the scale and cells that share a row’s height.",
|
|
875
|
+
"category": "layout",
|
|
876
|
+
"client": false,
|
|
877
|
+
"keys": { "by": "none" },
|
|
878
|
+
"alternatives": [
|
|
879
|
+
{ "name": "Stack", "when": "the children run in one line, a column or a row, rather than in equal columns" },
|
|
880
|
+
{ "name": "Widget", "when": "the board is of Widget tiles of different heights that should pack without holes" }
|
|
881
|
+
]
|
|
882
|
+
},
|
|
795
883
|
{
|
|
796
884
|
"name": "Heading",
|
|
797
885
|
"label": "Heading",
|
|
@@ -810,6 +898,15 @@ declare const _default: {
|
|
|
810
898
|
"client": true,
|
|
811
899
|
"pattern": "tooltip"
|
|
812
900
|
},
|
|
901
|
+
{
|
|
902
|
+
"name": "Icon",
|
|
903
|
+
"label": "Icon",
|
|
904
|
+
"slug": "icon",
|
|
905
|
+
"description": "One Material Symbol on the icon scale, decorative or named, plain or on a round tile.",
|
|
906
|
+
"category": "typography",
|
|
907
|
+
"client": false,
|
|
908
|
+
"keys": { "by": "none" }
|
|
909
|
+
},
|
|
813
910
|
{
|
|
814
911
|
"name": "ImageCompare",
|
|
815
912
|
"label": "Image compare",
|
|
@@ -826,7 +923,10 @@ declare const _default: {
|
|
|
826
923
|
"description": "Text input with label, placeholder, icons, a prefix or suffix, a clear button, helper text, and error states.",
|
|
827
924
|
"category": "forms",
|
|
828
925
|
"client": true,
|
|
829
|
-
"pattern": "textbox"
|
|
926
|
+
"pattern": "textbox",
|
|
927
|
+
"alternatives": [
|
|
928
|
+
{ "name": "Textarea", "when": "the content needs more than one line" }
|
|
929
|
+
]
|
|
830
930
|
},
|
|
831
931
|
{
|
|
832
932
|
"name": "InspectorColorPicker",
|
|
@@ -1098,6 +1198,30 @@ declare const _default: {
|
|
|
1098
1198
|
"client": true,
|
|
1099
1199
|
"partPatterns": [{ "pattern": "textbox", "part": "field" }, { "pattern": "button", "part": "step buttons" }]
|
|
1100
1200
|
},
|
|
1201
|
+
{
|
|
1202
|
+
"name": "OrgChart",
|
|
1203
|
+
"label": "Org chart",
|
|
1204
|
+
"slug": "org-chart",
|
|
1205
|
+
"description": "Who reports to whom: each person a card with their avatar, name and role, their reports in a row beneath.",
|
|
1206
|
+
"category": "data-display",
|
|
1207
|
+
"client": false,
|
|
1208
|
+
"keys": { "by": "platform", "note": "Each person whose name links to a profile is a native link, reached with Tab." },
|
|
1209
|
+
"alternatives": [
|
|
1210
|
+
{ "name": "TreeView", "when": "the hierarchy is a list to navigate and fold rather than people drawn as a chart" }
|
|
1211
|
+
]
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "PageHeader",
|
|
1215
|
+
"label": "Page header",
|
|
1216
|
+
"slug": "page-header",
|
|
1217
|
+
"description": "The top of a page: its breadcrumb, title, description and actions, folding the actions under the text when narrow.",
|
|
1218
|
+
"category": "layout",
|
|
1219
|
+
"client": false,
|
|
1220
|
+
"keys": { "by": "platform", "note": "Its breadcrumb links and the actions passed in are native links and buttons, reached with Tab." },
|
|
1221
|
+
"alternatives": [
|
|
1222
|
+
{ "name": "SectionTitle", "when": "the heading opens a section within a page rather than the page itself" }
|
|
1223
|
+
]
|
|
1224
|
+
},
|
|
1101
1225
|
{
|
|
1102
1226
|
"name": "Pagination",
|
|
1103
1227
|
"label": "Pagination",
|
|
@@ -1111,7 +1235,7 @@ declare const _default: {
|
|
|
1111
1235
|
"name": "Panel",
|
|
1112
1236
|
"label": "Panel",
|
|
1113
1237
|
"slug": "panel",
|
|
1114
|
-
"description": "The plain dashboard surface: a rounded container with
|
|
1238
|
+
"description": "The plain dashboard surface: a rounded container with padding and a gap, borderless unless it needs an edge.",
|
|
1115
1239
|
"category": "layout",
|
|
1116
1240
|
"client": false,
|
|
1117
1241
|
"keys": { "by": "none" }
|
|
@@ -1161,7 +1285,10 @@ declare const _default: {
|
|
|
1161
1285
|
"description": "Horizontal bar indicating completion progress, with an optional percentage label.",
|
|
1162
1286
|
"category": "feedback",
|
|
1163
1287
|
"client": false,
|
|
1164
|
-
"keys": { "by": "none" }
|
|
1288
|
+
"keys": { "by": "none" },
|
|
1289
|
+
"alternatives": [
|
|
1290
|
+
{ "name": "Spinner", "when": "the wait is indeterminate" }
|
|
1291
|
+
]
|
|
1165
1292
|
},
|
|
1166
1293
|
{
|
|
1167
1294
|
"name": "ProgressiveBlur",
|
|
@@ -1237,7 +1364,11 @@ declare const _default: {
|
|
|
1237
1364
|
"description": "Radio button and radio group with vertical and horizontal layouts, animated dot indicator.",
|
|
1238
1365
|
"category": "forms",
|
|
1239
1366
|
"client": true,
|
|
1240
|
-
"pattern": "radio-group"
|
|
1367
|
+
"pattern": "radio-group",
|
|
1368
|
+
"alternatives": [
|
|
1369
|
+
{ "name": "Checkbox", "when": "users can select more than one" },
|
|
1370
|
+
{ "name": "Dropdown", "when": "the list of options is long" }
|
|
1371
|
+
]
|
|
1241
1372
|
},
|
|
1242
1373
|
{
|
|
1243
1374
|
"name": "Rating",
|
|
@@ -1257,6 +1388,18 @@ declare const _default: {
|
|
|
1257
1388
|
"client": true,
|
|
1258
1389
|
"partPatterns": [{ "pattern": "disclosure", "part": "collapsible section" }]
|
|
1259
1390
|
},
|
|
1391
|
+
{
|
|
1392
|
+
"name": "ResourceTimeline",
|
|
1393
|
+
"label": "Resource timeline",
|
|
1394
|
+
"slug": "resource-timeline",
|
|
1395
|
+
"description": "Hours within one day: a row per person or resource and a bar from each start to its end, on an axis of hours.",
|
|
1396
|
+
"category": "data-display",
|
|
1397
|
+
"client": false,
|
|
1398
|
+
"keys": { "by": "none" },
|
|
1399
|
+
"alternatives": [
|
|
1400
|
+
{ "name": "GanttChart", "when": "the bars run over days and months rather than hours within one day" }
|
|
1401
|
+
]
|
|
1402
|
+
},
|
|
1260
1403
|
{
|
|
1261
1404
|
"name": "RichDropdown",
|
|
1262
1405
|
"label": "Rich dropdown",
|
|
@@ -1264,7 +1407,10 @@ declare const _default: {
|
|
|
1264
1407
|
"description": "Dropdown's rich sibling: options preview their own heading face, body face, and key colour.",
|
|
1265
1408
|
"category": "forms",
|
|
1266
1409
|
"client": true,
|
|
1267
|
-
"pattern": "combobox"
|
|
1410
|
+
"pattern": "combobox",
|
|
1411
|
+
"alternatives": [
|
|
1412
|
+
{ "name": "Dropdown", "when": "the label alone is enough to choose by" }
|
|
1413
|
+
]
|
|
1268
1414
|
},
|
|
1269
1415
|
{
|
|
1270
1416
|
"name": "ScatterChart",
|
|
@@ -1284,7 +1430,10 @@ declare const _default: {
|
|
|
1284
1430
|
"description": "Heading with a divider line and optional trailing content for organising page sections.",
|
|
1285
1431
|
"category": "layout",
|
|
1286
1432
|
"client": false,
|
|
1287
|
-
"keys": { "by": "none" }
|
|
1433
|
+
"keys": { "by": "none" },
|
|
1434
|
+
"alternatives": [
|
|
1435
|
+
{ "name": "PageHeader", "when": "the heading is the page’s own title, with its breadcrumb and actions" }
|
|
1436
|
+
]
|
|
1288
1437
|
},
|
|
1289
1438
|
{
|
|
1290
1439
|
"name": "SegmentedControl",
|
|
@@ -1293,7 +1442,10 @@ declare const _default: {
|
|
|
1293
1442
|
"description": "Pill-style toggle between related views with keyboard navigation and icon support.",
|
|
1294
1443
|
"category": "actions",
|
|
1295
1444
|
"client": true,
|
|
1296
|
-
"pattern": "tabs"
|
|
1445
|
+
"pattern": "tabs",
|
|
1446
|
+
"alternatives": [
|
|
1447
|
+
{ "name": "Tabs", "when": "the options are distinct content sections with their own panels" }
|
|
1448
|
+
]
|
|
1297
1449
|
},
|
|
1298
1450
|
{
|
|
1299
1451
|
"name": "SelectionCard",
|
|
@@ -1317,7 +1469,7 @@ declare const _default: {
|
|
|
1317
1469
|
"name": "ShaderScene",
|
|
1318
1470
|
"label": "Shader scene",
|
|
1319
1471
|
"slug": "shader-scene",
|
|
1320
|
-
"description": "A WebGL2 scene, from a night horizon
|
|
1472
|
+
"description": "A WebGL2 scene, from a night horizon to a spiral galaxy or one of your own in GLSL, in the theme's field colours, with fades, vignette and grain.",
|
|
1321
1473
|
"category": "effects",
|
|
1322
1474
|
"client": true,
|
|
1323
1475
|
"keys": { "by": "none" }
|
|
@@ -1401,7 +1553,10 @@ declare const _default: {
|
|
|
1401
1553
|
"description": "Animated circular loading indicator in three sizes and a default, neutral or inherit tone.",
|
|
1402
1554
|
"category": "feedback",
|
|
1403
1555
|
"client": false,
|
|
1404
|
-
"keys": { "by": "none" }
|
|
1556
|
+
"keys": { "by": "none" },
|
|
1557
|
+
"alternatives": [
|
|
1558
|
+
{ "name": "ProgressBar", "when": "the completion fraction is known" }
|
|
1559
|
+
]
|
|
1405
1560
|
},
|
|
1406
1561
|
{
|
|
1407
1562
|
"name": "SplitButton",
|
|
@@ -1421,6 +1576,18 @@ declare const _default: {
|
|
|
1421
1576
|
"client": true,
|
|
1422
1577
|
"pattern": "splitter"
|
|
1423
1578
|
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "Stack",
|
|
1581
|
+
"label": "Stack",
|
|
1582
|
+
"slug": "stack",
|
|
1583
|
+
"description": "Children in one direction, a column or a row, with a gap from the scale between them.",
|
|
1584
|
+
"category": "layout",
|
|
1585
|
+
"client": false,
|
|
1586
|
+
"keys": { "by": "none" },
|
|
1587
|
+
"alternatives": [
|
|
1588
|
+
{ "name": "Grid", "when": "the children should sit in equal columns that fold by the room the grid has" }
|
|
1589
|
+
]
|
|
1590
|
+
},
|
|
1424
1591
|
{
|
|
1425
1592
|
"name": "StackedBarChart",
|
|
1426
1593
|
"label": "Stacked bar chart",
|
|
@@ -1436,7 +1603,7 @@ declare const _default: {
|
|
|
1436
1603
|
"name": "Stat",
|
|
1437
1604
|
"label": "Stat",
|
|
1438
1605
|
"slug": "stat",
|
|
1439
|
-
"description": "Headline metrics with labels and
|
|
1606
|
+
"description": "Headline metrics with labels, trend deltas, an optional icon tile and caption, and a slot for a sparkline.",
|
|
1440
1607
|
"category": "data-display",
|
|
1441
1608
|
"client": false,
|
|
1442
1609
|
"keys": { "by": "none" }
|
|
@@ -1457,7 +1624,10 @@ declare const _default: {
|
|
|
1457
1624
|
"description": "Step-by-step progress indicator for wizards and multi-stage flows.",
|
|
1458
1625
|
"category": "navigation",
|
|
1459
1626
|
"client": true,
|
|
1460
|
-
"keys": { "by": "none" }
|
|
1627
|
+
"keys": { "by": "none" },
|
|
1628
|
+
"alternatives": [
|
|
1629
|
+
{ "name": "Wizard", "when": "the steps need their container, their heading and Back and Continue" }
|
|
1630
|
+
]
|
|
1461
1631
|
},
|
|
1462
1632
|
{
|
|
1463
1633
|
"name": "StreamingText",
|
|
@@ -1484,7 +1654,10 @@ declare const _default: {
|
|
|
1484
1654
|
"description": "Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.",
|
|
1485
1655
|
"category": "data-display",
|
|
1486
1656
|
"client": false,
|
|
1487
|
-
"keys": { "by": "none" }
|
|
1657
|
+
"keys": { "by": "none" },
|
|
1658
|
+
"alternatives": [
|
|
1659
|
+
{ "name": "DataTable", "when": "the rows need sorting, filtering, editing or loading from a server" }
|
|
1660
|
+
]
|
|
1488
1661
|
},
|
|
1489
1662
|
{
|
|
1490
1663
|
"name": "TableToolbar",
|
|
@@ -1499,10 +1672,13 @@ declare const _default: {
|
|
|
1499
1672
|
"name": "Tabs",
|
|
1500
1673
|
"label": "Tabs",
|
|
1501
1674
|
"slug": "tabs",
|
|
1502
|
-
"description": "
|
|
1675
|
+
"description": "Tabs with an underline indicator, icons and counts, compact and full-width modes, and panels it can render itself.",
|
|
1503
1676
|
"category": "navigation",
|
|
1504
1677
|
"client": true,
|
|
1505
|
-
"pattern": "tabs"
|
|
1678
|
+
"pattern": "tabs",
|
|
1679
|
+
"alternatives": [
|
|
1680
|
+
{ "name": "SegmentedControl", "when": "the options switch a view mode or a filter" }
|
|
1681
|
+
]
|
|
1506
1682
|
},
|
|
1507
1683
|
{
|
|
1508
1684
|
"name": "TagInput",
|
|
@@ -1511,7 +1687,10 @@ declare const _default: {
|
|
|
1511
1687
|
"description": "Multi-value text input with entries held as removable tags.",
|
|
1512
1688
|
"category": "forms",
|
|
1513
1689
|
"client": true,
|
|
1514
|
-
"pattern": "textbox"
|
|
1690
|
+
"pattern": "textbox",
|
|
1691
|
+
"alternatives": [
|
|
1692
|
+
{ "name": "Combobox", "when": "the values come from a known option list" }
|
|
1693
|
+
]
|
|
1515
1694
|
},
|
|
1516
1695
|
{
|
|
1517
1696
|
"name": "Text",
|
|
@@ -1529,7 +1708,10 @@ declare const _default: {
|
|
|
1529
1708
|
"description": "Multi-line text input with character counter, resize control, helper text, and error states.",
|
|
1530
1709
|
"category": "forms",
|
|
1531
1710
|
"client": true,
|
|
1532
|
-
"pattern": "textbox"
|
|
1711
|
+
"pattern": "textbox",
|
|
1712
|
+
"alternatives": [
|
|
1713
|
+
{ "name": "Input", "when": "the value fits on a single line" }
|
|
1714
|
+
]
|
|
1533
1715
|
},
|
|
1534
1716
|
{
|
|
1535
1717
|
"name": "ThemePicker",
|
|
@@ -1655,7 +1837,10 @@ declare const _default: {
|
|
|
1655
1837
|
"description": "Collapsible hierarchy for files, folders, and nested structures.",
|
|
1656
1838
|
"category": "data-display",
|
|
1657
1839
|
"client": true,
|
|
1658
|
-
"pattern": "tree"
|
|
1840
|
+
"pattern": "tree",
|
|
1841
|
+
"alternatives": [
|
|
1842
|
+
{ "name": "OrgChart", "when": "the hierarchy is people, drawn as a chart of who reports to whom" }
|
|
1843
|
+
]
|
|
1659
1844
|
},
|
|
1660
1845
|
{
|
|
1661
1846
|
"name": "Treemap",
|
|
@@ -1690,10 +1875,26 @@ declare const _default: {
|
|
|
1690
1875
|
"name": "Widget",
|
|
1691
1876
|
"label": "Widget",
|
|
1692
1877
|
"slug": "widget",
|
|
1693
|
-
"description": "A titled section for a dashboard
|
|
1878
|
+
"description": "A titled section for a dashboard or settings, with rows, groups, a footer, an optional fold, and a board of columns.",
|
|
1694
1879
|
"category": "data-display",
|
|
1695
1880
|
"client": false,
|
|
1696
|
-
"keys": { "by": "none" }
|
|
1881
|
+
"keys": { "by": "none" },
|
|
1882
|
+
"alternatives": [
|
|
1883
|
+
{ "name": "Grid", "when": "cells of any kind should sit in equal columns and share a row’s height" },
|
|
1884
|
+
{ "name": "FormSection", "when": "the section holds a form’s fields and its own save" }
|
|
1885
|
+
]
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"name": "Wizard",
|
|
1889
|
+
"label": "Wizard",
|
|
1890
|
+
"slug": "wizard",
|
|
1891
|
+
"description": "A task in steps: the stepper, the step under its heading, and Back and Continue with a running summary.",
|
|
1892
|
+
"category": "navigation",
|
|
1893
|
+
"client": true,
|
|
1894
|
+
"keys": { "by": "platform", "note": "Back, Continue and Finish are native buttons, as are the stepper’s completed steps, and focus moves to each step’s heading." },
|
|
1895
|
+
"alternatives": [
|
|
1896
|
+
{ "name": "Stepper", "when": "only the progress is needed and the host lays out the steps and their buttons" }
|
|
1897
|
+
]
|
|
1697
1898
|
},
|
|
1698
1899
|
{
|
|
1699
1900
|
"name": "WorldMap",
|