rift-ds 1.32.0 → 1.34.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.
Files changed (124) hide show
  1. package/README.md +4 -4
  2. package/behaviors/chat-card.css +11 -6
  3. package/behaviors/clipboard.d.ts +7 -0
  4. package/behaviors/clipboard.js +35 -0
  5. package/behaviors/headingSlug.d.ts +8 -0
  6. package/behaviors/headingSlug.js +4 -0
  7. package/behaviors/shell.css +64 -0
  8. package/behaviors/syncedChoice.d.ts +2 -0
  9. package/behaviors/syncedChoice.js +48 -0
  10. package/behaviors/useLayer.d.ts +15 -2
  11. package/behaviors/useLayer.js +3 -2
  12. package/bin/templates/blocks/app/guide/PageFeedback.tsx +55 -0
  13. package/bin/templates/blocks/app/guide/page.module.css +94 -0
  14. package/bin/templates/blocks/app/guide/page.tsx +168 -0
  15. package/bin/templates/blocks/components/blocks/AppShell.module.css +3 -1
  16. package/bin/templates/blocks/components/blocks/AppShell.tsx +8 -0
  17. package/bin/templates/blocks/components/blocks/DocsShell.module.css +18 -0
  18. package/bin/templates/blocks/components/blocks/DocsShell.tsx +179 -0
  19. package/bin/templates/blocks/registry.json +13 -0
  20. package/chat/AssistantTurn.d.ts +2 -0
  21. package/chat/AssistantTurn.js +18 -7
  22. package/chat/ChatProvider.js +14 -0
  23. package/chat/ChatWidget.css +10 -0
  24. package/chat/ChatWidget.d.ts +7 -3
  25. package/chat/ChatWidget.js +6 -3
  26. package/chat/agentState.d.ts +2 -1
  27. package/chat/agentState.js +4 -1
  28. package/chat/awaiting.d.ts +19 -0
  29. package/chat/awaiting.js +21 -0
  30. package/chat/context.d.ts +4 -0
  31. package/chat/index.d.ts +1 -0
  32. package/chat/index.js +3 -1
  33. package/chat/server.d.ts +8 -3
  34. package/chat/server.js +1 -1
  35. package/code/highlight.d.ts +4 -0
  36. package/code/highlight.js +34 -0
  37. package/code/index.d.ts +16 -0
  38. package/code/index.js +23 -0
  39. package/components/ActionCard/ActionCard.css +3 -3
  40. package/components/AgentStatus/AgentStatus.css +114 -22
  41. package/components/AgentStatus/AgentStatus.d.ts +10 -7
  42. package/components/AgentStatus/AgentStatus.js +10 -0
  43. package/components/AiButton/AiButton.d.ts +3 -3
  44. package/components/AnchorNav/AnchorNav.d.ts +29 -3
  45. package/components/AnchorNav/AnchorNav.js +69 -5
  46. package/components/AppLayout/AppLayout.css +8 -4
  47. package/components/AppLayout/AppLayout.d.ts +13 -3
  48. package/components/AppLayout/AppLayout.js +2 -0
  49. package/components/ArtifactPanel/ArtifactPanel.css +46 -0
  50. package/components/ArtifactPanel/ArtifactPanel.d.ts +14 -4
  51. package/components/ArtifactPanel/ArtifactPanel.js +8 -5
  52. package/components/BackToTop/BackToTop.css +28 -0
  53. package/components/BackToTop/BackToTop.d.ts +28 -0
  54. package/components/BackToTop/BackToTop.js +47 -0
  55. package/components/BentoTile/BentoTile.css +3 -0
  56. package/components/CodeBlock/CodeBlock.css +63 -24
  57. package/components/CodeBlock/CodeBlock.d.ts +62 -6
  58. package/components/CodeBlock/CodeBlock.js +90 -48
  59. package/components/Composer/Composer.css +14 -9
  60. package/components/Composer/Composer.d.ts +10 -8
  61. package/components/Composer/Composer.js +2 -1
  62. package/components/CopyButton/CopyButton.d.ts +42 -0
  63. package/components/CopyButton/CopyButton.js +72 -0
  64. package/components/DescriptionList/DescriptionListCopy.d.ts +2 -2
  65. package/components/DescriptionList/DescriptionListCopy.js +7 -35
  66. package/components/Figure/Figure.css +26 -0
  67. package/components/Figure/Figure.d.ts +10 -1
  68. package/components/Figure/Figure.js +15 -3
  69. package/components/Heading/Heading.css +43 -0
  70. package/components/Heading/Heading.d.ts +14 -3
  71. package/components/Heading/Heading.js +22 -4
  72. package/components/HoverCard/HoverCard.js +1 -0
  73. package/components/Link/Link.css +38 -0
  74. package/components/Link/Link.d.ts +3 -3
  75. package/components/Link/Link.js +1 -1
  76. package/components/Menubar/Menubar.css +82 -0
  77. package/components/Menubar/Menubar.d.ts +40 -0
  78. package/components/Menubar/Menubar.js +97 -0
  79. package/components/MessageCard/MessageCard.css +1 -1
  80. package/components/NavList/NavList.css +197 -0
  81. package/components/NavList/NavList.d.ts +54 -6
  82. package/components/NavList/NavList.js +136 -8
  83. package/components/Pagination/Pagination.css +80 -0
  84. package/components/Pagination/Pagination.d.ts +29 -3
  85. package/components/Pagination/Pagination.js +49 -5
  86. package/components/Rating/Rating.css +26 -0
  87. package/components/Rating/Rating.d.ts +18 -5
  88. package/components/Rating/Rating.js +16 -7
  89. package/components/SectionTitle/SectionTitle.css +36 -0
  90. package/components/SectionTitle/SectionTitle.d.ts +10 -1
  91. package/components/SectionTitle/SectionTitle.js +7 -2
  92. package/components/ShaderScene/ShaderScene.d.ts +2 -1
  93. package/components/ShaderScene/ShaderScene.js +20 -2
  94. package/components/SiteFooter/SiteFooter.css +157 -0
  95. package/components/SiteFooter/SiteFooter.d.ts +53 -0
  96. package/components/SiteFooter/SiteFooter.js +61 -0
  97. package/components/SiteHeader/SiteHeader.css +106 -4
  98. package/components/SiteHeader/SiteHeader.d.ts +25 -2
  99. package/components/SiteHeader/SiteHeader.js +46 -8
  100. package/components/SiteLayout/SiteLayout.css +361 -0
  101. package/components/SiteLayout/SiteLayout.d.ts +103 -0
  102. package/components/SiteLayout/SiteLayout.js +68 -0
  103. package/components/SourceTrail/SourceTrail.css +1 -1
  104. package/components/Table/Table.css +14 -0
  105. package/components/Table/Table.d.ts +2 -0
  106. package/components/Table/Table.js +1 -1
  107. package/components/ToolCall/ToolCall.css +2 -2
  108. package/components/Tooltip/Tooltip.js +1 -0
  109. package/components/UsageCard/UsageCard.css +4 -3
  110. package/components/keyboard-patterns.json.d.ts +57 -0
  111. package/components/keyboard-patterns.json.js +1 -1
  112. package/components/registry.json +89 -19
  113. package/components/registry.json.d.ts +89 -19
  114. package/components/registry.json.js +1 -1
  115. package/index.d.ts +5 -0
  116. package/index.js +14 -1
  117. package/package.json +14 -2
  118. package/tokens/breakpoints.js +3 -3
  119. package/tokens/registry.json +5 -0
  120. package/tokens/registry.json.d.ts +5 -0
  121. package/tokens/registry.json.js +1 -1
  122. package/tokens/tokens-dark.css +12 -0
  123. package/tokens/tokens-light.css +12 -0
  124. package/tokens/values.json.js +1 -1
@@ -1,4 +1,4 @@
1
- const patterns = { "tabs": { "label": "Tabs", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/tabs/", "rows": [{ "id": "tab-stop", "keys": ["Tab"], "text": "Moves focus into the list at the selected tab, and out of the list on the next press." }, { "id": "next", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next tab and selects it." }, { "id": "previous", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous tab and selects it." }, { "id": "last", "keys": ["End"], "text": "Moves to the last tab and selects it." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first tab and selects it." }] }, "toolbar": { "label": "Toolbar", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/", "rows": [{ "id": "next", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next control." }, { "id": "previous", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous control." }, { "id": "last", "keys": ["End"], "text": "Moves to the last control." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first control." }] }, "radio-group": { "label": "Radio group", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/radio/", "rows": [{ "id": "tab-stop", "keys": ["Tab"], "text": "Moves focus into the group at one option, and out of the group on the next press." }, { "id": "next", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next option and chooses it." }, { "id": "previous", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous option and chooses it." }, { "id": "last", "keys": ["End"], "text": "Moves to the last option and chooses it." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first option and chooses it." }] }, "menu": { "label": "Menu", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/menubar/", "rows": [{ "id": "open", "keys": [], "text": "Opening the menu moves focus into it.", "when": "On open" }, { "id": "next", "keys": ["ArrowDown"], "text": "Moves to the next item." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous item." }, { "id": "last", "keys": ["End"], "text": "Moves to the last item." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first item." }, { "id": "typeahead", "keys": [], "when": "A letter", "text": "Moves to the next item whose name starts with it." }, { "id": "dismiss", "keys": ["Escape"], "text": "Closes the menu and returns focus to what opened it." }] }, "combobox": { "label": "Combobox", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/combobox/", "rows": [{ "id": "open", "keys": ["ArrowDown"], "text": "Opens the list of options." }, { "id": "next", "keys": ["ArrowDown"], "text": "With the list open, moves to the next option." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous option." }, { "id": "dismiss", "keys": ["Escape"], "text": "Closes the list and keeps focus on the field." }] }, "dialog": { "label": "Dialog", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/", "rows": [{ "id": "enter", "keys": [], "text": "Opening moves focus inside.", "when": "On open" }, { "id": "trap", "keys": ["Tab"], "text": "Moves to the next control inside, and from the last back to the first. Focus never reaches the page behind." }, { "id": "trap-back", "keys": ["Shift", "Tab"], "text": "Moves to the previous control inside, and from the first to the last." }, { "id": "dismiss", "keys": ["Escape"], "text": "Closes it and returns focus to what opened it." }] }, "tree": { "label": "Tree view", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/treeview/", "rows": [{ "id": "next", "keys": ["ArrowDown"], "text": "Moves to the next visible row." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous visible row." }, { "id": "last", "keys": ["End"], "text": "Moves to the last visible row." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first row." }, { "id": "expand", "keys": ["ArrowRight"], "inline": true, "text": "Opens a closed branch." }, { "id": "collapse", "keys": ["ArrowLeft"], "inline": true, "text": "Closes an open branch." }, { "id": "typeahead", "keys": [], "when": "A letter", "text": "Moves to the next visible row whose name starts with it." }] }, "slider": { "label": "Slider", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/slider/", "rows": [{ "id": "increase", "keys": ["ArrowRight"], "text": "Raises the value by one step." }, { "id": "decrease", "keys": ["ArrowLeft"], "text": "Lowers the value by one step." }, { "id": "minimum", "keys": ["Home"], "text": "Sets the lowest value." }, { "id": "maximum", "keys": ["End"], "text": "Sets the highest value." }] }, "splitter": { "label": "Window splitter", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/", "rows": [{ "id": "increase", "keys": ["ArrowRight"], "inline": true, "text": "Grows the first pane by one step." }, { "id": "decrease", "keys": ["ArrowLeft"], "inline": true, "text": "Shrinks the first pane by one step." }, { "id": "minimum", "keys": ["Home"], "text": "Shrinks the first pane to its smallest size." }, { "id": "maximum", "keys": ["End"], "text": "Grows the first pane to its largest size." }] }, "calendar": { "label": "Date grid", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog/", "rows": [{ "id": "next-day", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next day." }, { "id": "previous-day", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous day." }, { "id": "next-week", "keys": ["ArrowDown"], "text": "Moves to the same weekday in the next week." }, { "id": "previous-week", "keys": ["ArrowUp"], "text": "Moves to the same weekday in the previous week." }, { "id": "week-start", "keys": ["Home"], "text": "Moves to the first day of the week." }, { "id": "week-end", "keys": ["End"], "text": "Moves to the last day of the week." }, { "id": "next-month", "keys": ["PageDown"], "text": "Moves to the same day in the next month." }, { "id": "previous-month", "keys": ["PageUp"], "text": "Moves to the same day in the previous month." }] }, "listbox": { "label": "Listbox", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/listbox/", "rows": [{ "id": "first", "keys": ["Home"], "text": "Moves to the first option." }, { "id": "next", "keys": ["ArrowDown"], "text": "Moves to the next option." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous option." }, { "id": "last", "keys": ["End"], "text": "Moves to the last option." }] }, "accordion": { "label": "Accordion", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/accordion/", "rows": [{ "id": "toggle", "keys": ["Enter"], "text": "Opens a closed section, and closes an open one." }, { "id": "toggle-space", "keys": ["Space"], "text": "Does the same as Enter." }] }, "disclosure": { "label": "Disclosure", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/", "rows": [{ "id": "toggle", "keys": ["Enter"], "text": "Opens what it controls, and closes it when it is open." }, { "id": "toggle-space", "keys": ["Space"], "text": "Does the same as Enter." }] }, "tooltip": { "label": "Tooltip", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/", "rows": [{ "id": "show", "keys": [], "when": "On focus", "text": "Focusing the trigger shows it." }, { "id": "dismiss", "keys": ["Escape"], "text": "Hides it and leaves focus on the trigger." }] }, "button": { "label": "Button", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/button/", "rows": [{ "id": "activate", "keys": ["Enter"], "text": "Activates the button." }, { "id": "activate-space", "keys": ["Space"], "text": "Activates the button." }] }, "toggle-button": { "label": "Toggle button", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/button/", "rows": [{ "id": "toggle", "keys": ["Enter"], "text": "Changes whether the button is pressed." }, { "id": "toggle-space", "keys": ["Space"], "text": "Does the same as Enter." }] }, "link": { "label": "Link", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/link/", "rows": [{ "id": "follow", "keys": ["Enter"], "text": "Follows the link." }] }, "checkbox": { "label": "Checkbox", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/", "rows": [{ "id": "toggle-space", "keys": ["Space"], "text": "Ticks the box, or clears it when it is ticked." }] }, "switch": { "label": "Switch", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/switch/", "rows": [{ "id": "toggle-space", "keys": ["Space"], "text": "Turns the switch on, or off when it is on." }] }, "textbox": { "label": "Text field", "apg": "https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/", "rows": [{ "id": "type", "keys": [], "when": "Typing", "text": "Enters text in the named field." }] } };
1
+ const patterns = { "tabs": { "label": "Tabs", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/tabs/", "rows": [{ "id": "tab-stop", "keys": ["Tab"], "text": "Moves focus into the list at the selected tab, and out of the list on the next press." }, { "id": "next", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next tab and selects it." }, { "id": "previous", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous tab and selects it." }, { "id": "last", "keys": ["End"], "text": "Moves to the last tab and selects it." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first tab and selects it." }] }, "toolbar": { "label": "Toolbar", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/", "rows": [{ "id": "next", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next control." }, { "id": "previous", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous control." }, { "id": "last", "keys": ["End"], "text": "Moves to the last control." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first control." }] }, "radio-group": { "label": "Radio group", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/radio/", "rows": [{ "id": "tab-stop", "keys": ["Tab"], "text": "Moves focus into the group at one option, and out of the group on the next press." }, { "id": "next", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next option and chooses it." }, { "id": "previous", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous option and chooses it." }, { "id": "last", "keys": ["End"], "text": "Moves to the last option and chooses it." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first option and chooses it." }] }, "menu": { "label": "Menu", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/menubar/", "rows": [{ "id": "open", "keys": [], "text": "Opening the menu moves focus into it.", "when": "On open" }, { "id": "next", "keys": ["ArrowDown"], "text": "Moves to the next item." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous item." }, { "id": "last", "keys": ["End"], "text": "Moves to the last item." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first item." }, { "id": "typeahead", "keys": [], "when": "A letter", "text": "Moves to the next item whose name starts with it." }, { "id": "dismiss", "keys": ["Escape"], "text": "Closes the menu and returns focus to what opened it." }] }, "menubar": { "label": "Menu bar", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/menubar/", "rows": [{ "id": "tab-stop", "keys": ["Tab"], "text": "Moves focus into the bar at the last menu it was on, and out of the bar on the next press." }, { "id": "next", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next menu, opening it if a menu is open." }, { "id": "previous", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous menu, opening it if a menu is open." }, { "id": "last", "keys": ["End"], "text": "Moves to the last menu." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first menu." }, { "id": "open", "keys": ["ArrowDown"], "text": "Opens the menu and moves into it; the menu's own keys then apply." }, { "id": "dismiss", "keys": ["Escape"], "text": "Closes the open menu and returns focus to its name in the bar." }] }, "combobox": { "label": "Combobox", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/combobox/", "rows": [{ "id": "open", "keys": ["ArrowDown"], "text": "Opens the list of options." }, { "id": "next", "keys": ["ArrowDown"], "text": "With the list open, moves to the next option." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous option." }, { "id": "dismiss", "keys": ["Escape"], "text": "Closes the list and keeps focus on the field." }] }, "dialog": { "label": "Dialog", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/", "rows": [{ "id": "enter", "keys": [], "text": "Opening moves focus inside.", "when": "On open" }, { "id": "trap", "keys": ["Tab"], "text": "Moves to the next control inside, and from the last back to the first. Focus never reaches the page behind." }, { "id": "trap-back", "keys": ["Shift", "Tab"], "text": "Moves to the previous control inside, and from the first to the last." }, { "id": "dismiss", "keys": ["Escape"], "text": "Closes it and returns focus to what opened it." }] }, "tree": { "label": "Tree view", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/treeview/", "rows": [{ "id": "next", "keys": ["ArrowDown"], "text": "Moves to the next visible row." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous visible row." }, { "id": "last", "keys": ["End"], "text": "Moves to the last visible row." }, { "id": "first", "keys": ["Home"], "text": "Moves to the first row." }, { "id": "expand", "keys": ["ArrowRight"], "inline": true, "text": "Opens a closed branch." }, { "id": "collapse", "keys": ["ArrowLeft"], "inline": true, "text": "Closes an open branch." }, { "id": "typeahead", "keys": [], "when": "A letter", "text": "Moves to the next visible row whose name starts with it." }] }, "slider": { "label": "Slider", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/slider/", "rows": [{ "id": "increase", "keys": ["ArrowRight"], "text": "Raises the value by one step." }, { "id": "decrease", "keys": ["ArrowLeft"], "text": "Lowers the value by one step." }, { "id": "minimum", "keys": ["Home"], "text": "Sets the lowest value." }, { "id": "maximum", "keys": ["End"], "text": "Sets the highest value." }] }, "splitter": { "label": "Window splitter", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/", "rows": [{ "id": "increase", "keys": ["ArrowRight"], "inline": true, "text": "Grows the first pane by one step." }, { "id": "decrease", "keys": ["ArrowLeft"], "inline": true, "text": "Shrinks the first pane by one step." }, { "id": "minimum", "keys": ["Home"], "text": "Shrinks the first pane to its smallest size." }, { "id": "maximum", "keys": ["End"], "text": "Grows the first pane to its largest size." }] }, "calendar": { "label": "Date grid", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/examples/datepicker-dialog/", "rows": [{ "id": "next-day", "keys": ["ArrowRight"], "inline": true, "text": "Moves to the next day." }, { "id": "previous-day", "keys": ["ArrowLeft"], "inline": true, "text": "Moves to the previous day." }, { "id": "next-week", "keys": ["ArrowDown"], "text": "Moves to the same weekday in the next week." }, { "id": "previous-week", "keys": ["ArrowUp"], "text": "Moves to the same weekday in the previous week." }, { "id": "week-start", "keys": ["Home"], "text": "Moves to the first day of the week." }, { "id": "week-end", "keys": ["End"], "text": "Moves to the last day of the week." }, { "id": "next-month", "keys": ["PageDown"], "text": "Moves to the same day in the next month." }, { "id": "previous-month", "keys": ["PageUp"], "text": "Moves to the same day in the previous month." }] }, "listbox": { "label": "Listbox", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/listbox/", "rows": [{ "id": "first", "keys": ["Home"], "text": "Moves to the first option." }, { "id": "next", "keys": ["ArrowDown"], "text": "Moves to the next option." }, { "id": "previous", "keys": ["ArrowUp"], "text": "Moves to the previous option." }, { "id": "last", "keys": ["End"], "text": "Moves to the last option." }] }, "accordion": { "label": "Accordion", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/accordion/", "rows": [{ "id": "toggle", "keys": ["Enter"], "text": "Opens a closed section, and closes an open one." }, { "id": "toggle-space", "keys": ["Space"], "text": "Does the same as Enter." }] }, "disclosure": { "label": "Disclosure", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/", "rows": [{ "id": "toggle", "keys": ["Enter"], "text": "Opens what it controls, and closes it when it is open." }, { "id": "toggle-space", "keys": ["Space"], "text": "Does the same as Enter." }] }, "tooltip": { "label": "Tooltip", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/", "rows": [{ "id": "show", "keys": [], "when": "On focus", "text": "Focusing the trigger shows it." }, { "id": "dismiss", "keys": ["Escape"], "text": "Hides it and leaves focus on the trigger." }] }, "button": { "label": "Button", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/button/", "rows": [{ "id": "activate", "keys": ["Enter"], "text": "Activates the button." }, { "id": "activate-space", "keys": ["Space"], "text": "Activates the button." }] }, "toggle-button": { "label": "Toggle button", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/button/", "rows": [{ "id": "toggle", "keys": ["Enter"], "text": "Changes whether the button is pressed." }, { "id": "toggle-space", "keys": ["Space"], "text": "Does the same as Enter." }] }, "link": { "label": "Link", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/link/", "rows": [{ "id": "follow", "keys": ["Enter"], "text": "Follows the link." }] }, "checkbox": { "label": "Checkbox", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/", "rows": [{ "id": "toggle-space", "keys": ["Space"], "text": "Ticks the box, or clears it when it is ticked." }] }, "switch": { "label": "Switch", "apg": "https://www.w3.org/WAI/ARIA/apg/patterns/switch/", "rows": [{ "id": "toggle-space", "keys": ["Space"], "text": "Turns the switch on, or off when it is on." }] }, "textbox": { "label": "Text field", "apg": "https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/", "rows": [{ "id": "type", "keys": [], "when": "Typing", "text": "Enters text in the named field." }] } };
2
2
  const keyboard = {
3
3
  patterns
4
4
  };
@@ -162,7 +162,7 @@
162
162
  "name": "AnchorNav",
163
163
  "label": "Anchor nav",
164
164
  "slug": "anchor-nav",
165
- "description": "An on-page list of anchor links that tracks the reader's position and jumps between sections.",
165
+ "description": "An on-page list of anchor links that tracks the reader's position, listed by hand or read from the page's headings.",
166
166
  "category": "navigation",
167
167
  "client": true,
168
168
  "pattern": "link"
@@ -180,10 +180,13 @@
180
180
  "name": "AppLayout",
181
181
  "label": "App layout",
182
182
  "slug": "app-layout",
183
- "description": "Full-page template pairing the collapsible App sidebar with a content area, in one of the three app shell modes: flush, floating or inset.",
183
+ "description": "Full-page template pairing the collapsible App sidebar with a content area, in flush, floating or inset mode, contained or full width.",
184
184
  "category": "layout",
185
185
  "client": true,
186
- "keys": { "by": "component", "note": "The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.", "see": "AppSidebar" }
186
+ "keys": { "by": "component", "note": "The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.", "see": "AppSidebar" },
187
+ "alternatives": [
188
+ { "name": "SiteLayout", "when": "the page is a site of pages under a top header, such as documentation" }
189
+ ]
187
190
  },
188
191
  {
189
192
  "name": "AppSidebar",
@@ -218,7 +221,7 @@
218
221
  "name": "ArtifactPanel",
219
222
  "label": "Artifact panel",
220
223
  "slug": "artifact-panel",
221
- "description": "The panel a chat opens beside the conversation to preview what it made: live content, a sandboxed page or a site, with the source a switch away.",
224
+ "description": "A preview with its source a switch away: the panel a chat opens beside the conversation, or an inline live example on a page.",
222
225
  "category": "ai",
223
226
  "client": true,
224
227
  "partPatterns": [{ "pattern": "button", "part": "buttons" }]
@@ -284,6 +287,15 @@
284
287
  "client": false,
285
288
  "keys": { "by": "none" }
286
289
  },
290
+ {
291
+ "name": "BackToTop",
292
+ "label": "Back to top",
293
+ "slug": "back-to-top",
294
+ "description": "A round button in the page's corner that appears on a long scroll and takes the reader back to the top.",
295
+ "category": "navigation",
296
+ "client": true,
297
+ "keys": { "by": "platform", "note": "A native button: the browser owns Enter and Space, and the press scrolls the page." }
298
+ },
287
299
  {
288
300
  "name": "Badge",
289
301
  "label": "Badge",
@@ -471,10 +483,13 @@
471
483
  "name": "CodeBlock",
472
484
  "label": "Code block",
473
485
  "slug": "code-block",
474
- "description": "Monospace code with a header and one-click copy.",
486
+ "description": "Monospace code with a header and one-click copy, optional highlighting, line numbers and tabs.",
475
487
  "category": "data-display",
476
488
  "client": true,
477
- "partPatterns": [{ "pattern": "disclosure", "part": "collapsible section" }]
489
+ "partPatterns": [
490
+ { "pattern": "disclosure", "part": "collapsible section" },
491
+ { "pattern": "tabs", "part": "snippet tabs" }
492
+ ]
478
493
  },
479
494
  {
480
495
  "name": "CodeDiff",
@@ -576,6 +591,18 @@
576
591
  "client": false,
577
592
  "keys": { "by": "none" }
578
593
  },
594
+ {
595
+ "name": "CopyButton",
596
+ "label": "Copy button",
597
+ "slug": "copy-button",
598
+ "description": "A button that puts a value on the clipboard and confirms it, with text or as an icon alone.",
599
+ "category": "actions",
600
+ "client": true,
601
+ "pattern": "button",
602
+ "alternatives": [
603
+ { "name": "IconButton", "when": "the button runs an action other than copying a value" }
604
+ ]
605
+ },
579
606
  {
580
607
  "name": "CurrencyInput",
581
608
  "label": "Currency input",
@@ -728,7 +755,8 @@
728
755
  "pattern": "menu",
729
756
  "alternatives": [
730
757
  { "name": "ContextMenu", "when": "the menu opens on the content itself" },
731
- { "name": "Dropdown", "when": "the choice is a form value" }
758
+ { "name": "Dropdown", "when": "the choice is a form value" },
759
+ { "name": "Menubar", "when": "several menus sit side by side in a persistent bar" }
732
760
  ]
733
761
  },
734
762
  {
@@ -789,7 +817,7 @@
789
817
  "name": "Figure",
790
818
  "label": "Figure",
791
819
  "slug": "figure",
792
- "description": "Images with captions, in the case-study frame.",
820
+ "description": "Images with captions, in the case-study frame, with a Do or Don't verdict for guidelines.",
793
821
  "category": "data-display",
794
822
  "client": false,
795
823
  "keys": { "by": "none" }
@@ -894,10 +922,13 @@
894
922
  "name": "Heading",
895
923
  "label": "Heading",
896
924
  "slug": "heading",
897
- "description": "A heading whose outline level and type tier are chosen apart.",
925
+ "description": "A heading whose outline level and type tier are chosen apart, with an optional link to itself.",
898
926
  "category": "typography",
899
927
  "client": false,
900
- "keys": { "by": "none" }
928
+ "keys": { "by": "none" },
929
+ "alternatives": [
930
+ { "name": "SectionTitle", "when": "the heading opens a page section, with a divider line or a count or action beside the title" }
931
+ ]
901
932
  },
902
933
  {
903
934
  "name": "HoverCard",
@@ -926,7 +957,8 @@
926
957
  "client": false,
927
958
  "pattern": "button",
928
959
  "alternatives": [
929
- { "name": "Button", "when": "the action needs its words on show, with or without an icon beside them" }
960
+ { "name": "Button", "when": "the action needs its words on show, with or without an icon beside them" },
961
+ { "name": "CopyButton", "when": "the button puts a value on the clipboard and should confirm it" }
930
962
  ]
931
963
  },
932
964
  {
@@ -1080,7 +1112,7 @@
1080
1112
  "name": "Link",
1081
1113
  "label": "Link",
1082
1114
  "slug": "link",
1083
- "description": "A text link inside a sentence or on its own, routed through the app's link component.",
1115
+ "description": "A text link inside a sentence, on its own, or skipping to the content, routed through the app's link component.",
1084
1116
  "category": "typography",
1085
1117
  "client": false,
1086
1118
  "pattern": "link"
@@ -1148,6 +1180,19 @@
1148
1180
  "client": true,
1149
1181
  "keys": { "by": "component", "note": "The list of suggestions is driven from the field it belongs to: the arrow keys move, Enter chooses and Escape closes." }
1150
1182
  },
1183
+ {
1184
+ "name": "Menubar",
1185
+ "label": "Menu bar",
1186
+ "slug": "menubar",
1187
+ "description": "A persistent row of menus, like an app's File, Edit and View, with arrow keys along the bar.",
1188
+ "category": "navigation",
1189
+ "client": true,
1190
+ "pattern": "menubar",
1191
+ "alternatives": [
1192
+ { "name": "Toolbar", "when": "the bar holds controls that act at once rather than menus" },
1193
+ { "name": "DropdownMenu", "when": "one menu opens from one trigger" }
1194
+ ]
1195
+ },
1151
1196
  {
1152
1197
  "name": "MessageActions",
1153
1198
  "label": "Message actions",
@@ -1197,7 +1242,7 @@
1197
1242
  "name": "NavList",
1198
1243
  "label": "Nav list",
1199
1244
  "slug": "nav-list",
1200
- "description": "Vertical list of navigation links for drawers and menus, with three indent levels and per-row expand toggles.",
1245
+ "description": "Vertical navigation links for drawers and long sidebars: sections, three indent levels, expand toggles, a compact size and its own scroll.",
1201
1246
  "category": "navigation",
1202
1247
  "client": true,
1203
1248
  "partPatterns": [{ "pattern": "disclosure", "part": "collapsible section" }]
@@ -1248,7 +1293,7 @@
1248
1293
  "name": "Pagination",
1249
1294
  "label": "Pagination",
1250
1295
  "slug": "pagination",
1251
- "description": "Numbered page navigation for long datasets, with ellipses, disabled end arrows, and a compact readout mode.",
1296
+ "description": "Numbered page navigation with ellipses and a compact readout, or links to the previous and next page of a sequence.",
1252
1297
  "category": "navigation",
1253
1298
  "client": true,
1254
1299
  "partPatterns": [{ "pattern": "button", "part": "page buttons" }]
@@ -1396,7 +1441,7 @@
1396
1441
  "name": "Rating",
1397
1442
  "label": "Rating",
1398
1443
  "slug": "rating",
1399
- "description": "Star-scale rating control with keyboard selection, a read-only mode, and a configurable icon.",
1444
+ "description": "Star-scale rating or a thumbs up and down verdict, with keyboard selection and a read-only mode.",
1400
1445
  "category": "forms",
1401
1446
  "client": true,
1402
1447
  "pattern": "radio-group"
@@ -1454,7 +1499,8 @@
1454
1499
  "client": false,
1455
1500
  "keys": { "by": "none" },
1456
1501
  "alternatives": [
1457
- { "name": "PageHeader", "when": "the heading is the page’s own title, with its breadcrumb and actions" }
1502
+ { "name": "PageHeader", "when": "the heading is the page’s own title, with its breadcrumb and actions" },
1503
+ { "name": "Heading", "when": "the heading needs a level or type tier of its own rather than a section’s divided title" }
1458
1504
  ]
1459
1505
  },
1460
1506
  {
@@ -1514,15 +1560,36 @@
1514
1560
  "client": true,
1515
1561
  "partPatterns": [{ "pattern": "tabs", "part": "mode tabs" }]
1516
1562
  },
1563
+ {
1564
+ "name": "SiteFooter",
1565
+ "label": "Site footer",
1566
+ "slug": "site-footer",
1567
+ "description": "The bottom of a site: brand, columns of links, and a row of small print and social links.",
1568
+ "category": "navigation",
1569
+ "client": false,
1570
+ "keys": { "by": "platform", "note": "Plain links: the browser owns Tab and Enter." }
1571
+ },
1517
1572
  {
1518
1573
  "name": "SiteHeader",
1519
1574
  "label": "Site header",
1520
1575
  "slug": "site-header",
1521
- "description": "A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit.",
1576
+ "description": "A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit or below a set breakpoint.",
1522
1577
  "category": "navigation",
1523
1578
  "client": true,
1524
1579
  "keys": { "by": "component", "note": "Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it." }
1525
1580
  },
1581
+ {
1582
+ "name": "SiteLayout",
1583
+ "label": "Site layout",
1584
+ "slug": "site-layout",
1585
+ "description": "The frame of a docs or marketing site: header, sidebar, content, aside and footer, with the page's width and the sidebar's dock set apart.",
1586
+ "category": "layout",
1587
+ "client": false,
1588
+ "keys": { "by": "platform", "note": "A frame: its slots own their keys, and its skip link is a native link." },
1589
+ "alternatives": [
1590
+ { "name": "AppLayout", "when": "the page is an app screen with a rail of tools rather than a site of pages" }
1591
+ ]
1592
+ },
1526
1593
  {
1527
1594
  "name": "Skeleton",
1528
1595
  "label": "Skeleton",
@@ -1673,7 +1740,7 @@
1673
1740
  "name": "Table",
1674
1741
  "label": "Table",
1675
1742
  "slug": "table",
1676
- "description": "Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.",
1743
+ "description": "Data table with flexible cell content, striped rows, compact sizing, code columns, and support for icons, inputs and controls.",
1677
1744
  "category": "data-display",
1678
1745
  "client": false,
1679
1746
  "keys": { "by": "none" },
@@ -1832,7 +1899,10 @@
1832
1899
  "description": "A grouped strip of controls in one pill shell: clusters, separators, arrow-key focus, and a glass floating variant.",
1833
1900
  "category": "layout",
1834
1901
  "client": true,
1835
- "pattern": "toolbar"
1902
+ "pattern": "toolbar",
1903
+ "alternatives": [
1904
+ { "name": "Menubar", "when": "the controls are named menus of commands, like an app's File and Edit" }
1905
+ ]
1836
1906
  },
1837
1907
  {
1838
1908
  "name": "Tooltip",
@@ -162,7 +162,7 @@ declare const _default: {
162
162
  "name": "AnchorNav",
163
163
  "label": "Anchor nav",
164
164
  "slug": "anchor-nav",
165
- "description": "An on-page list of anchor links that tracks the reader's position and jumps between sections.",
165
+ "description": "An on-page list of anchor links that tracks the reader's position, listed by hand or read from the page's headings.",
166
166
  "category": "navigation",
167
167
  "client": true,
168
168
  "pattern": "link"
@@ -180,10 +180,13 @@ declare const _default: {
180
180
  "name": "AppLayout",
181
181
  "label": "App layout",
182
182
  "slug": "app-layout",
183
- "description": "Full-page template pairing the collapsible App sidebar with a content area, in one of the three app shell modes: flush, floating or inset.",
183
+ "description": "Full-page template pairing the collapsible App sidebar with a content area, in flush, floating or inset mode, contained or full width.",
184
184
  "category": "layout",
185
185
  "client": true,
186
- "keys": { "by": "component", "note": "The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.", "see": "AppSidebar" }
186
+ "keys": { "by": "component", "note": "The rail is AppSidebar, which carries the layout’s keys. The layout adds none of its own.", "see": "AppSidebar" },
187
+ "alternatives": [
188
+ { "name": "SiteLayout", "when": "the page is a site of pages under a top header, such as documentation" }
189
+ ]
187
190
  },
188
191
  {
189
192
  "name": "AppSidebar",
@@ -218,7 +221,7 @@ declare const _default: {
218
221
  "name": "ArtifactPanel",
219
222
  "label": "Artifact panel",
220
223
  "slug": "artifact-panel",
221
- "description": "The panel a chat opens beside the conversation to preview what it made: live content, a sandboxed page or a site, with the source a switch away.",
224
+ "description": "A preview with its source a switch away: the panel a chat opens beside the conversation, or an inline live example on a page.",
222
225
  "category": "ai",
223
226
  "client": true,
224
227
  "partPatterns": [{ "pattern": "button", "part": "buttons" }]
@@ -284,6 +287,15 @@ declare const _default: {
284
287
  "client": false,
285
288
  "keys": { "by": "none" }
286
289
  },
290
+ {
291
+ "name": "BackToTop",
292
+ "label": "Back to top",
293
+ "slug": "back-to-top",
294
+ "description": "A round button in the page's corner that appears on a long scroll and takes the reader back to the top.",
295
+ "category": "navigation",
296
+ "client": true,
297
+ "keys": { "by": "platform", "note": "A native button: the browser owns Enter and Space, and the press scrolls the page." }
298
+ },
287
299
  {
288
300
  "name": "Badge",
289
301
  "label": "Badge",
@@ -471,10 +483,13 @@ declare const _default: {
471
483
  "name": "CodeBlock",
472
484
  "label": "Code block",
473
485
  "slug": "code-block",
474
- "description": "Monospace code with a header and one-click copy.",
486
+ "description": "Monospace code with a header and one-click copy, optional highlighting, line numbers and tabs.",
475
487
  "category": "data-display",
476
488
  "client": true,
477
- "partPatterns": [{ "pattern": "disclosure", "part": "collapsible section" }]
489
+ "partPatterns": [
490
+ { "pattern": "disclosure", "part": "collapsible section" },
491
+ { "pattern": "tabs", "part": "snippet tabs" }
492
+ ]
478
493
  },
479
494
  {
480
495
  "name": "CodeDiff",
@@ -576,6 +591,18 @@ declare const _default: {
576
591
  "client": false,
577
592
  "keys": { "by": "none" }
578
593
  },
594
+ {
595
+ "name": "CopyButton",
596
+ "label": "Copy button",
597
+ "slug": "copy-button",
598
+ "description": "A button that puts a value on the clipboard and confirms it, with text or as an icon alone.",
599
+ "category": "actions",
600
+ "client": true,
601
+ "pattern": "button",
602
+ "alternatives": [
603
+ { "name": "IconButton", "when": "the button runs an action other than copying a value" }
604
+ ]
605
+ },
579
606
  {
580
607
  "name": "CurrencyInput",
581
608
  "label": "Currency input",
@@ -728,7 +755,8 @@ declare const _default: {
728
755
  "pattern": "menu",
729
756
  "alternatives": [
730
757
  { "name": "ContextMenu", "when": "the menu opens on the content itself" },
731
- { "name": "Dropdown", "when": "the choice is a form value" }
758
+ { "name": "Dropdown", "when": "the choice is a form value" },
759
+ { "name": "Menubar", "when": "several menus sit side by side in a persistent bar" }
732
760
  ]
733
761
  },
734
762
  {
@@ -789,7 +817,7 @@ declare const _default: {
789
817
  "name": "Figure",
790
818
  "label": "Figure",
791
819
  "slug": "figure",
792
- "description": "Images with captions, in the case-study frame.",
820
+ "description": "Images with captions, in the case-study frame, with a Do or Don't verdict for guidelines.",
793
821
  "category": "data-display",
794
822
  "client": false,
795
823
  "keys": { "by": "none" }
@@ -894,10 +922,13 @@ declare const _default: {
894
922
  "name": "Heading",
895
923
  "label": "Heading",
896
924
  "slug": "heading",
897
- "description": "A heading whose outline level and type tier are chosen apart.",
925
+ "description": "A heading whose outline level and type tier are chosen apart, with an optional link to itself.",
898
926
  "category": "typography",
899
927
  "client": false,
900
- "keys": { "by": "none" }
928
+ "keys": { "by": "none" },
929
+ "alternatives": [
930
+ { "name": "SectionTitle", "when": "the heading opens a page section, with a divider line or a count or action beside the title" }
931
+ ]
901
932
  },
902
933
  {
903
934
  "name": "HoverCard",
@@ -926,7 +957,8 @@ declare const _default: {
926
957
  "client": false,
927
958
  "pattern": "button",
928
959
  "alternatives": [
929
- { "name": "Button", "when": "the action needs its words on show, with or without an icon beside them" }
960
+ { "name": "Button", "when": "the action needs its words on show, with or without an icon beside them" },
961
+ { "name": "CopyButton", "when": "the button puts a value on the clipboard and should confirm it" }
930
962
  ]
931
963
  },
932
964
  {
@@ -1080,7 +1112,7 @@ declare const _default: {
1080
1112
  "name": "Link",
1081
1113
  "label": "Link",
1082
1114
  "slug": "link",
1083
- "description": "A text link inside a sentence or on its own, routed through the app's link component.",
1115
+ "description": "A text link inside a sentence, on its own, or skipping to the content, routed through the app's link component.",
1084
1116
  "category": "typography",
1085
1117
  "client": false,
1086
1118
  "pattern": "link"
@@ -1148,6 +1180,19 @@ declare const _default: {
1148
1180
  "client": true,
1149
1181
  "keys": { "by": "component", "note": "The list of suggestions is driven from the field it belongs to: the arrow keys move, Enter chooses and Escape closes." }
1150
1182
  },
1183
+ {
1184
+ "name": "Menubar",
1185
+ "label": "Menu bar",
1186
+ "slug": "menubar",
1187
+ "description": "A persistent row of menus, like an app's File, Edit and View, with arrow keys along the bar.",
1188
+ "category": "navigation",
1189
+ "client": true,
1190
+ "pattern": "menubar",
1191
+ "alternatives": [
1192
+ { "name": "Toolbar", "when": "the bar holds controls that act at once rather than menus" },
1193
+ { "name": "DropdownMenu", "when": "one menu opens from one trigger" }
1194
+ ]
1195
+ },
1151
1196
  {
1152
1197
  "name": "MessageActions",
1153
1198
  "label": "Message actions",
@@ -1197,7 +1242,7 @@ declare const _default: {
1197
1242
  "name": "NavList",
1198
1243
  "label": "Nav list",
1199
1244
  "slug": "nav-list",
1200
- "description": "Vertical list of navigation links for drawers and menus, with three indent levels and per-row expand toggles.",
1245
+ "description": "Vertical navigation links for drawers and long sidebars: sections, three indent levels, expand toggles, a compact size and its own scroll.",
1201
1246
  "category": "navigation",
1202
1247
  "client": true,
1203
1248
  "partPatterns": [{ "pattern": "disclosure", "part": "collapsible section" }]
@@ -1248,7 +1293,7 @@ declare const _default: {
1248
1293
  "name": "Pagination",
1249
1294
  "label": "Pagination",
1250
1295
  "slug": "pagination",
1251
- "description": "Numbered page navigation for long datasets, with ellipses, disabled end arrows, and a compact readout mode.",
1296
+ "description": "Numbered page navigation with ellipses and a compact readout, or links to the previous and next page of a sequence.",
1252
1297
  "category": "navigation",
1253
1298
  "client": true,
1254
1299
  "partPatterns": [{ "pattern": "button", "part": "page buttons" }]
@@ -1396,7 +1441,7 @@ declare const _default: {
1396
1441
  "name": "Rating",
1397
1442
  "label": "Rating",
1398
1443
  "slug": "rating",
1399
- "description": "Star-scale rating control with keyboard selection, a read-only mode, and a configurable icon.",
1444
+ "description": "Star-scale rating or a thumbs up and down verdict, with keyboard selection and a read-only mode.",
1400
1445
  "category": "forms",
1401
1446
  "client": true,
1402
1447
  "pattern": "radio-group"
@@ -1454,7 +1499,8 @@ declare const _default: {
1454
1499
  "client": false,
1455
1500
  "keys": { "by": "none" },
1456
1501
  "alternatives": [
1457
- { "name": "PageHeader", "when": "the heading is the page’s own title, with its breadcrumb and actions" }
1502
+ { "name": "PageHeader", "when": "the heading is the page’s own title, with its breadcrumb and actions" },
1503
+ { "name": "Heading", "when": "the heading needs a level or type tier of its own rather than a section’s divided title" }
1458
1504
  ]
1459
1505
  },
1460
1506
  {
@@ -1514,15 +1560,36 @@ declare const _default: {
1514
1560
  "client": true,
1515
1561
  "partPatterns": [{ "pattern": "tabs", "part": "mode tabs" }]
1516
1562
  },
1563
+ {
1564
+ "name": "SiteFooter",
1565
+ "label": "Site footer",
1566
+ "slug": "site-footer",
1567
+ "description": "The bottom of a site: brand, columns of links, and a row of small print and social links.",
1568
+ "category": "navigation",
1569
+ "client": false,
1570
+ "keys": { "by": "platform", "note": "Plain links: the browser owns Tab and Enter." }
1571
+ },
1517
1572
  {
1518
1573
  "name": "SiteHeader",
1519
1574
  "label": "Site header",
1520
1575
  "slug": "site-header",
1521
- "description": "A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit.",
1576
+ "description": "A site's sticky top bar of section pills and mega menus, folding to a drawer when the pills no longer fit or below a set breakpoint.",
1522
1577
  "category": "navigation",
1523
1578
  "client": true,
1524
1579
  "keys": { "by": "component", "note": "Focusing a section opens its panel, Arrow Down moves into it, and Escape closes it." }
1525
1580
  },
1581
+ {
1582
+ "name": "SiteLayout",
1583
+ "label": "Site layout",
1584
+ "slug": "site-layout",
1585
+ "description": "The frame of a docs or marketing site: header, sidebar, content, aside and footer, with the page's width and the sidebar's dock set apart.",
1586
+ "category": "layout",
1587
+ "client": false,
1588
+ "keys": { "by": "platform", "note": "A frame: its slots own their keys, and its skip link is a native link." },
1589
+ "alternatives": [
1590
+ { "name": "AppLayout", "when": "the page is an app screen with a rail of tools rather than a site of pages" }
1591
+ ]
1592
+ },
1526
1593
  {
1527
1594
  "name": "Skeleton",
1528
1595
  "label": "Skeleton",
@@ -1673,7 +1740,7 @@ declare const _default: {
1673
1740
  "name": "Table",
1674
1741
  "label": "Table",
1675
1742
  "slug": "table",
1676
- "description": "Data table with flexible cell content, striped rows, compact sizing, and support for icons, inputs, buttons, and interactive controls.",
1743
+ "description": "Data table with flexible cell content, striped rows, compact sizing, code columns, and support for icons, inputs and controls.",
1677
1744
  "category": "data-display",
1678
1745
  "client": false,
1679
1746
  "keys": { "by": "none" },
@@ -1832,7 +1899,10 @@ declare const _default: {
1832
1899
  "description": "A grouped strip of controls in one pill shell: clusters, separators, arrow-key focus, and a glass floating variant.",
1833
1900
  "category": "layout",
1834
1901
  "client": true,
1835
- "pattern": "toolbar"
1902
+ "pattern": "toolbar",
1903
+ "alternatives": [
1904
+ { "name": "Menubar", "when": "the controls are named menus of commands, like an app's File and Edit" }
1905
+ ]
1836
1906
  },
1837
1907
  {
1838
1908
  "name": "Tooltip",