@redvars/peacock 4.1.0 → 4.2.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 (240) hide show
  1. package/dist/{BaseField-BMumJpkW.js → BaseField-_unSNU5x.js} +40 -4
  2. package/dist/BaseField-_unSNU5x.js.map +1 -0
  3. package/dist/{BaseInput-mWdyYv27.js → BaseInput-DtZH0fPJ.js} +3 -3
  4. package/dist/BaseInput-DtZH0fPJ.js.map +1 -0
  5. package/dist/ai-badge.js +32 -6
  6. package/dist/ai-badge.js.map +1 -1
  7. package/dist/ai-summary.js +2 -2
  8. package/dist/alert.js +2 -2
  9. package/dist/anchor-nav.js +2 -2
  10. package/dist/app-shell.js +2 -2
  11. package/dist/assistant-panel.js +2 -2
  12. package/dist/assistant-step.js +2 -2
  13. package/dist/assistant-steps.js +2 -2
  14. package/dist/avatar-group.js +2 -2
  15. package/dist/banner.js +2 -2
  16. package/dist/{base-progress-CvLVSjuy.js → base-progress-D7Nmfh1s.js} +2 -2
  17. package/dist/{base-progress-CvLVSjuy.js.map → base-progress-D7Nmfh1s.js.map} +1 -1
  18. package/dist/bottom-sheet.js +2 -2
  19. package/dist/breadcrumb.js +2 -2
  20. package/dist/button.js +11 -5
  21. package/dist/button.js.map +1 -1
  22. package/dist/calendar.js +2 -2
  23. package/dist/{canvas-base-BTQMEVn_.js → canvas-base-CWQ4rQ2s.js} +2 -2
  24. package/dist/{canvas-base-BTQMEVn_.js.map → canvas-base-CWQ4rQ2s.js.map} +1 -1
  25. package/dist/{cartesian-chart-DM1FC_XT.js → cartesian-chart-CS5yRLfE.js} +2 -2
  26. package/dist/{cartesian-chart-DM1FC_XT.js.map → cartesian-chart-CS5yRLfE.js.map} +1 -1
  27. package/dist/{cb-group-base-B6fa4Lll.js → cb-group-base-CO30uFQZ.js} +2 -2
  28. package/dist/{cb-group-base-B6fa4Lll.js.map → cb-group-base-CO30uFQZ.js.map} +1 -1
  29. package/dist/cb-group.js +3 -3
  30. package/dist/cb-rule.js +3 -3
  31. package/dist/chart-area.js +4 -4
  32. package/dist/chart-bar.js +4 -4
  33. package/dist/{chart-base-Dhxuw_Mw.js → chart-base-C_XKVyhf.js} +2 -2
  34. package/dist/{chart-base-Dhxuw_Mw.js.map → chart-base-C_XKVyhf.js.map} +1 -1
  35. package/dist/chart-doughnut.js +3 -3
  36. package/dist/chart-line.js +4 -4
  37. package/dist/chart-pie.js +3 -3
  38. package/dist/chat-event.js +152 -0
  39. package/dist/chat-event.js.map +1 -0
  40. package/dist/chat-message.js +195 -19
  41. package/dist/chat-message.js.map +1 -1
  42. package/dist/chat-thread.js +26 -9
  43. package/dist/chat-thread.js.map +1 -1
  44. package/dist/checkbox-group.js +4 -4
  45. package/dist/checkbox.js +4 -4
  46. package/dist/chip-set.js +3 -3
  47. package/dist/chip.js +2 -2
  48. package/dist/circular-progress.js +3 -3
  49. package/dist/citation.js +2 -2
  50. package/dist/code-editor.js +4 -4
  51. package/dist/code-highlighter.js +2 -2
  52. package/dist/color-field.js +5 -5
  53. package/dist/color-picker.js +2 -2
  54. package/dist/command-palette.js +2 -2
  55. package/dist/comment-composer.js +5 -5
  56. package/dist/condition-builder.js +3 -3
  57. package/dist/confirm-dialog.js +2 -2
  58. package/dist/copy-button.js +2 -2
  59. package/dist/currency-field.js +5 -5
  60. package/dist/custom-elements-jsdocs.json +174 -20
  61. package/dist/custom-elements.json +1122 -68
  62. package/dist/date-field.js +6 -6
  63. package/dist/date-picker.js +2 -2
  64. package/dist/date-range-field.js +6 -6
  65. package/dist/datetime-field.js +6 -6
  66. package/dist/dependency-map.js +3 -3
  67. package/dist/description-item.js +2 -2
  68. package/dist/description-list.js +2 -2
  69. package/dist/{diagram-2r11KySs.js → diagram-Va096vj9.js} +2 -2
  70. package/dist/{diagram-2r11KySs.js.map → diagram-Va096vj9.js.map} +1 -1
  71. package/dist/diagram-controls.js +2 -2
  72. package/dist/diagram-minimap.js +2 -2
  73. package/dist/diagram.js +4 -4
  74. package/dist/diff-viewer.js +2 -2
  75. package/dist/discussion-activity.js +4 -4
  76. package/dist/discussion-comment.js +4 -4
  77. package/dist/{discussion-time-BegaYfhf.js → discussion-time-DqykqvNy.js} +2 -2
  78. package/dist/{discussion-time-BegaYfhf.js.map → discussion-time-DqykqvNy.js.map} +1 -1
  79. package/dist/discussion.js +7 -7
  80. package/dist/{document-editor-BnEugM3E.js → document-editor-Dc8JeFVB.js} +2 -2
  81. package/dist/{document-editor-BnEugM3E.js.map → document-editor-Dc8JeFVB.js.map} +1 -1
  82. package/dist/document-editor.js +3 -3
  83. package/dist/draft-card.js +14 -4
  84. package/dist/draft-card.js.map +1 -1
  85. package/dist/dropdown-button.js +3 -2
  86. package/dist/dropdown-button.js.map +1 -1
  87. package/dist/erd.js +3 -3
  88. package/dist/file-upload.js +4 -4
  89. package/dist/filter-bar.js +2 -2
  90. package/dist/flow.js +4 -4
  91. package/dist/form.js +3 -3
  92. package/dist/{generative-view-BgOcLRXr.js → generative-view-BKlcuujw.js} +2 -2
  93. package/dist/{generative-view-BgOcLRXr.js.map → generative-view-BKlcuujw.js.map} +1 -1
  94. package/dist/generative-view.js +3 -3
  95. package/dist/html-editor.js +5 -5
  96. package/dist/{i18n-controller-Cp43HjJl.js → i18n-controller-DJHsE1YH.js} +2 -2
  97. package/dist/{i18n-controller-Cp43HjJl.js.map → i18n-controller-DJHsE1YH.js.map} +1 -1
  98. package/dist/icon-button.js +7 -5
  99. package/dist/icon-button.js.map +1 -1
  100. package/dist/image.js +2 -2
  101. package/dist/index.js +21 -20
  102. package/dist/index.js.map +1 -1
  103. package/dist/inline-edit.js +2 -2
  104. package/dist/input.js +4 -4
  105. package/dist/json-viewer.js +2 -2
  106. package/dist/kanban.js +2 -2
  107. package/dist/kbd.js +2 -2
  108. package/dist/linear-progress.js +3 -3
  109. package/dist/link-button.js +7 -5
  110. package/dist/link-button.js.map +1 -1
  111. package/dist/listbox.js +3 -3
  112. package/dist/loader-full.js +13 -12
  113. package/dist/loader-full.js.map +1 -1
  114. package/dist/loader.js +16 -12
  115. package/dist/loader.js.map +1 -1
  116. package/dist/markdown-editor.js +5 -5
  117. package/dist/mention-input.js +5 -5
  118. package/dist/{menu-trigger-controller-DyLpTxM7.js → menu-trigger-controller-CEJq1ugC.js} +11 -14
  119. package/dist/menu-trigger-controller-CEJq1ugC.js.map +1 -0
  120. package/dist/modal.js +2 -2
  121. package/dist/navigation-bar.js +2 -2
  122. package/dist/navigation-drawer.js +2 -2
  123. package/dist/navigation-rail.js +2 -2
  124. package/dist/notification-center.js +3 -3
  125. package/dist/number-field.js +5 -5
  126. package/dist/page-header.js +2 -2
  127. package/dist/pagination.js +2 -2
  128. package/dist/password-field.js +5 -5
  129. package/dist/password-rules.js +2 -2
  130. package/dist/phone-field.js +5 -5
  131. package/dist/{picker-field-dTlIMAQn.js → picker-field-CUI05sWc.js} +3 -3
  132. package/dist/{picker-field-dTlIMAQn.js.map → picker-field-CUI05sWc.js.map} +1 -1
  133. package/dist/pin-input.js +5 -5
  134. package/dist/presence-indicator.js +2 -2
  135. package/dist/prompt-input.js +5 -5
  136. package/dist/radio-group.js +1 -1
  137. package/dist/radio.js +4 -4
  138. package/dist/rating.js +4 -4
  139. package/dist/redvars-loader.js +2 -2
  140. package/dist/{relative-time-BVQXLuHm.js → relative-time-BNxqvEbg.js} +13 -2
  141. package/dist/relative-time-BNxqvEbg.js.map +1 -0
  142. package/dist/relative-time.js +3 -3
  143. package/dist/resizable-panels.js +2 -2
  144. package/dist/{rich-text-input-DM_BOzgk.js → rich-text-input-N_hqnXej.js} +3 -3
  145. package/dist/{rich-text-input-DM_BOzgk.js.map → rich-text-input-N_hqnXej.js.map} +1 -1
  146. package/dist/{schema-B8g30A_n.js → schema-Dy0z-80u.js} +2 -2
  147. package/dist/{schema-B8g30A_n.js.map → schema-Dy0z-80u.js.map} +1 -1
  148. package/dist/search.js +4 -4
  149. package/dist/select.js +5 -5
  150. package/dist/side-sheet.js +2 -2
  151. package/dist/signature-pad.js +4 -4
  152. package/dist/slider.js +4 -4
  153. package/dist/snackbar.js +2 -2
  154. package/dist/sparkline.js +2 -2
  155. package/dist/split-button.js +109 -21
  156. package/dist/split-button.js.map +1 -1
  157. package/dist/src/__internal/ai/suggestion-controller.d.ts +2 -0
  158. package/dist/src/__internal/i18n/strings.d.ts +6 -0
  159. package/dist/src/__internal/menu-trigger-controller.d.ts +11 -8
  160. package/dist/src/__internal/utils/relative-time.d.ts +5 -0
  161. package/dist/src/ai-badge/ai-badge.d.ts +8 -0
  162. package/dist/src/button/button/button.d.ts +4 -0
  163. package/dist/src/chat-message/chat-message.d.ts +51 -10
  164. package/dist/src/chat-message/index.d.ts +1 -1
  165. package/dist/src/chat-thread/chat-event.d.ts +37 -0
  166. package/dist/src/chat-thread/chat-thread.d.ts +7 -4
  167. package/dist/src/chat-thread/index.d.ts +1 -0
  168. package/dist/src/index.d.ts +2 -2
  169. package/dist/src/input/BaseField.d.ts +12 -1
  170. package/dist/src/input/BaseInput.d.ts +1 -0
  171. package/dist/src/split-button/split-button.d.ts +7 -2
  172. package/dist/src/textarea/textarea.d.ts +2 -0
  173. package/dist/stat.js +2 -2
  174. package/dist/status-indicator.js +2 -2
  175. package/dist/step.js +2 -2
  176. package/dist/stepper.js +2 -2
  177. package/dist/{strings-BJPuhKJk.js → strings-DnYjGbbc.js} +7 -1
  178. package/dist/{strings-BJPuhKJk.js.map → strings-DnYjGbbc.js.map} +1 -1
  179. package/dist/{suggestion-controller-CW17adxd.js → suggestion-controller-7YRQqkaI.js} +3 -1
  180. package/dist/{suggestion-controller-CW17adxd.js.map → suggestion-controller-7YRQqkaI.js.map} +1 -1
  181. package/dist/svg.js +2 -2
  182. package/dist/switch.js +4 -4
  183. package/dist/table.js +50 -11
  184. package/dist/table.js.map +1 -1
  185. package/dist/textarea.js +10 -5
  186. package/dist/textarea.js.map +1 -1
  187. package/dist/time-field.js +6 -6
  188. package/dist/time-picker.js +2 -2
  189. package/dist/timeline-item.js +2 -2
  190. package/dist/timeline.js +2 -2
  191. package/dist/{toggle-base-BlaHalfS.js → toggle-base-CXmFSp3b.js} +2 -2
  192. package/dist/{toggle-base-BlaHalfS.js.map → toggle-base-CXmFSp3b.js.map} +1 -1
  193. package/dist/tour.js +2 -2
  194. package/dist/transfer-list.js +4 -4
  195. package/dist/tree-chart.js +3 -3
  196. package/dist/tree-item.js +2 -2
  197. package/dist/tree.js +2 -2
  198. package/dist/tsconfig.tsbuildinfo +1 -1
  199. package/dist/typing-indicator.js +2 -2
  200. package/dist/url-field.js +5 -5
  201. package/dist/user-menu.js +3 -3
  202. package/dist/virtual-list.js +2 -2
  203. package/dist/workflow-timeline.js +2 -2
  204. package/dist/workflow.js +3 -3
  205. package/dist/workspace-switcher.js +3 -3
  206. package/package.json +1 -1
  207. package/src/__internal/ai/suggestion-controller.ts +3 -1
  208. package/src/__internal/i18n/strings.ts +6 -0
  209. package/src/__internal/menu-trigger-controller.ts +11 -15
  210. package/src/__internal/utils/relative-time.ts +20 -0
  211. package/src/ai-badge/ai-badge.scss +8 -0
  212. package/src/ai-badge/ai-badge.ts +21 -4
  213. package/src/button/button/button-base.scss +9 -2
  214. package/src/button/button/button-layers.scss +3 -1
  215. package/src/button/button/button.ts +4 -0
  216. package/src/chat-message/chat-message.scss +72 -0
  217. package/src/chat-message/chat-message.ts +137 -18
  218. package/src/chat-message/index.ts +1 -0
  219. package/src/chat-thread/chat-event.scss +36 -0
  220. package/src/chat-thread/chat-event.ts +79 -0
  221. package/src/chat-thread/chat-thread.scss +4 -1
  222. package/src/chat-thread/chat-thread.ts +22 -6
  223. package/src/chat-thread/index.ts +1 -0
  224. package/src/draft-card/draft-card.scss +16 -2
  225. package/src/dropdown-button/dropdown-button.ts +2 -1
  226. package/src/index.ts +2 -1
  227. package/src/input/BaseField.ts +42 -2
  228. package/src/input/BaseInput.ts +1 -1
  229. package/src/loader.ts +4 -0
  230. package/src/split-button/split-button-colors.scss +9 -0
  231. package/src/split-button/split-button-sizes.scss +32 -5
  232. package/src/split-button/split-button.scss +61 -8
  233. package/src/split-button/split-button.ts +15 -8
  234. package/src/table/table.scss +57 -9
  235. package/src/table/table.ts +3 -1
  236. package/src/textarea/textarea.ts +7 -0
  237. package/dist/BaseField-BMumJpkW.js.map +0 -1
  238. package/dist/BaseInput-mWdyYv27.js.map +0 -1
  239. package/dist/menu-trigger-controller-DyLpTxM7.js.map +0 -1
  240. package/dist/relative-time-BVQXLuHm.js.map +0 -1
@@ -322,7 +322,7 @@
322
322
  "type": {
323
323
  "text": "object"
324
324
  },
325
- "default": "{ // ── Shared ───────────────────────────────────────────────────────────────── dismiss: 'Dismiss', close: 'Close', clear: 'Clear', loading: 'Loading', today: 'Today', disabled: 'Disabled', readOnly: 'Read only', dragToReorder: 'Drag to reorder', readOnlyTag: 'Read Only', // ── Intents (alert, notification) ──────────────────────────────────────── intentNote: 'Note', intentInfo: 'Info', intentSuccess: 'Success', intentWarning: 'Warning', intentError: 'Error', intentInformation: 'Information', // ── Fields ──────────────────────────────────────────────────────────────── showPassword: 'Show password', hidePassword: 'Hide password', invalidUrl: 'Please enter a valid URL', editUrl: 'Edit URL', slider: 'Slider', increase: 'Increase', decrease: 'Decrease', // ── Validation (for controls without a native input to ask) ────────────── // Worded like the browser's own messages, which fields with a native input show. valueMissing: 'Please fill out this field.', valueMissingSelect: 'Please select an item in the list.', valueMissingCheckbox: 'Please check this box if you want to proceed.', valueMissingRadio: 'Please select one of these options.', // ── Search and select ──────────────────────────────────────────────────── search: 'Search', clearSearch: 'Clear search', searchOptions: 'Search options', selectOption: 'Select option', options: 'Options', noResults: 'No results', noOptions: 'No options', /** Label of an option whose value is empty and that has no label of its own. */ none: 'None', /** Row of a select with `allow-custom` that keeps the typed text, for example `Create \"Kiwi\"`. */ createOption: (text: string): string => `Create \"${text}\"`, // ── Color ──────────────────────────────────────────────────────────────── chooseColor: 'Choose color', hexColor: 'Hex color', hexColorValue: 'Hex color value', hexLabel: 'HEX', saturationAndBrightness: 'Saturation and brightness', hue: 'Hue', opacity: 'Opacity', opacityPercentage: 'Opacity percentage', hexColorError: 'Enter a hex color, such as #7c5df0', /** The same error for a color field with `alpha`, which also takes an opacity. */ hexColorAlphaError: 'Enter a hex color, such as #7c5df0 or #7c5df080', /** Spoken value of the saturation and brightness area, for example \"Saturation 40%, Brightness 80%\". */ saturationBrightnessValue: (saturation: string, brightness: string): string => `Saturation ${saturation}%, Brightness ${brightness}%`, // ── Date and time ──────────────────────────────────────────────────────── chooseDate: 'Choose date', chooseDateAndTime: 'Choose date and time', chooseTime: 'Choose time', previousMonth: 'Previous month', nextMonth: 'Next month', previousYear: 'Previous year', nextYear: 'Next year', previousYears: 'Previous years', nextYears: 'Next years', hours: 'Hours', minutes: 'Minutes', seconds: 'Seconds', dayPeriod: 'AM/PM', /** Error for text that does not parse; `format` is the format hint, for example \"MM/DD/YYYY\". */ enterFormat: (format: string): string => `Enter ${format}`, /** Errors for a value outside `min` or `max`; the argument is the formatted limit. */ pickDateOnOrAfter: (date: string): string => `Pick a date on or after ${date}`, pickDateOnOrBefore: (date: string): string => `Pick a date on or before ${date}`, /** Error for a date `isDateDisabled` rules out; the argument is the formatted date. */ dateUnavailable: (date: string): string => `${date} isn't available`, pickTimeAtOrAfter: (time: string): string => `Pick a time at or after ${time}`, pickTimeAtOrBefore: (time: string): string => `Pick a time at or before ${time}`, pickDateTimeOnOrAfter: (dateTime: string): string => `Pick a time on or after ${dateTime}`, pickDateTimeOnOrBefore: (dateTime: string): string => `Pick a time on or before ${dateTime}`, // ── Calendar ───────────────────────────────────────────────────────────── day: 'Day', week: 'Week', month: 'Month', previousPeriod: 'Previous', nextPeriod: 'Next', invalidView: 'Invalid view', // ── Overlays and feedback ──────────────────────────────────────────────── closeDialog: 'Close dialog', closeNotification: 'Close notification', dismissNotification: 'Dismiss notification', dismissAlert: 'Dismiss alert', bottomSheet: 'Bottom sheet', sideSheet: 'Side sheet', closeSheet: 'Close sheet', imagePreview: 'Image preview', closePreview: 'Close preview', openMenu: 'Open menu', openSplitButtonMenu: 'Open split button menu', /** Title of the svg preview dialog, for example \"Preview: Logo\". */ previewTitle: (title: string): string => `Preview: ${title}`, svgPreview: 'SVG preview', // ── Navigation ─────────────────────────────────────────────────────────── navigation: 'Navigation', mainNavigation: 'Main navigation', breadcrumb: 'Breadcrumb', pagination: 'Pagination', page: 'Page', rowsPerPage: 'Rows per page', firstPage: 'First page', previousPage: 'Previous page', nextPage: 'Next page', lastPage: 'Last page', /** Range of rows shown, for example \"1–10 of 42\". `total` is undefined when it is unknown. */ pageRange: (start: string, end: string, total?: string): string => total === undefined ? `${start}–${end}` : `${start}–${end} of ${total}`, /** Range text when there are no rows; `zero` is 0 in the locale's digits. */ emptyPageRange: (zero: string): string => `${zero} of ${zero}`, /** Screen-reader announcement of the range, for example \"Showing 1–10 of 42\". */ showingRange: (range: string): string => `Showing ${range}`, /** Label of one page button, for example \"Page 3\". */ pageNumber: (page: string): string => `Page ${page}`, /** Label of the page number field, for example \"Page number, 24 pages\". */ pageNumberField: (pages: string): string => `Page number, ${pages} pages`, /** Text after the page number field, for example \"of 24\". */ ofPages: (pages: string): string => `of ${pages}`, // ── Table ──────────────────────────────────────────────────────────────── noItems: 'No items', noItemsDescription: 'There are no items to display', selectAllRowsOnPage: 'Select all rows on this page', selectRow: 'Select row', selection: 'Selection', selectedCount: (count: string): string => `${count} selected`, selectAllCount: (count: string): string => `Select all ${count}`, tableError: 'Something went wrong', tableErrorDescription: 'The data could not be loaded.', showHideColumns: 'Show or hide columns', /** Label of a column's resize handle, for example \"Resize Name\". */ resizeColumn: (column: string): string => `Resize ${column}`, /** Text of a secondary sort level on its header, for example \"Sort priority 2, ascending\". */ sortPriority: (priority: string, ascending: boolean): string => `Sort priority ${priority}, ${ascending ? 'ascending' : 'descending'}`, /** Announced after a column moved, for example \"Name moved to position 2 of 5\". */ columnMoved: (column: string, position: string, total: string): string => `${column} moved to position ${position} of ${total}`, /** Header of the row expander column. */ rowDetails: 'Row details', expandRow: 'Show row details', collapseRow: 'Hide row details', /** Toggle of a group header, for example \"Expand group Brown\". */ expandGroup: (group: string): string => `Expand group ${group}`, collapseGroup: (group: string): string => `Collapse group ${group}`, /** Row count of a group header; `count` is formatted, `n` the number for plural rules. */ groupRowCount: (count: string, n: number): string => n === 1 ? `${count} row` : `${count} rows`, /** Group header of rows whose `group-by` value is empty. */ emptyGroup: '(Empty)', /** Labels of the footer aggregates. */ aggregateSum: 'Sum', aggregateAvg: 'Average', aggregateMin: 'Min', aggregateMax: 'Max', aggregateCount: 'Count', // ── Charts ─────────────────────────────────────────────────────────────── chart: 'Chart', /** What screen readers call the plot (`aria-roledescription`), lower case. */ chartRole: 'chart', chartData: 'Chart data', chartInstructions: (name: string): string => `${name}. Use the arrow keys to explore the data.`, noData: 'No data', category: 'Category', name: 'Name', value: 'Value', share: 'Share', total: 'Total', // ── Code ───────────────────────────────────────────────────────────────── codeEditor: 'Code editor', copyToClipboard: 'Copy to clipboard', copied: 'Copied', wrapLines: 'Wrap lines', unwrapLines: 'Turn off line wrap', showMore: 'Show more', showLess: 'Show less', breakpoint: 'Breakpoint', pausedHere: 'Paused here', // ── Rich text editors ──────────────────────────────────────────────────── formattingToolbar: 'Formatting toolbar', inlineFormatting: 'Inline formatting', insertBlock: 'Insert block', insertBlockBelow: 'Insert block below', undo: 'Undo', redo: 'Redo', bold: 'Bold', italic: 'Italic', underline: 'Underline', strikethrough: 'Strikethrough', inlineCode: 'Inline code', /** The block style menu: paragraph text. */ paragraph: 'Text', /** Label of the block style menu button. */ textStyle: 'Text style', heading1: 'Heading 1', heading2: 'Heading 2', heading3: 'Heading 3', bulletedList: 'Bulleted list', numberedList: 'Numbered list', taskList: 'Checklist', quote: 'Quote', codeBlock: 'Code block', divider: 'Divider', table: 'Table', addRowBelow: 'Add row below', addColumnAfter: 'Add column after', deleteRow: 'Delete row', deleteColumn: 'Delete column', deleteTable: 'Delete table', link: 'Link', /** Label of the address field in the link editor. */ linkAddress: 'Link address', applyLink: 'Apply', removeLink: 'Remove link', /** Shown when the typed link address cannot be used. */ linkInvalid: 'Enter a web address, an email address or a relative path.', /** The toolbar button that starts a mention. */ mentionSomeone: 'Mention someone', /** The toolbar toggle between the formatted view and the source. */ viewSource: 'View source', enterTextPlaceholder: 'Enter text…', slashCommandsPlaceholder: \"Type '/' for commands…\", /** Announced when the slash menu has no match. */ noMatchingBlocks: 'No matching blocks', // ── Document editor ────────────────────────────────────────────────────── /** Default accessible name of a document editor. */ documentLabel: 'Document', documentPlaceholder: 'Start writing…', documentHeader: 'Header', documentFooter: 'Footer', /** Shown in an empty header or footer while it is edited. */ documentHeaderPlaceholder: 'Header text', documentFooterPlaceholder: 'Footer text', /** Tooltip of a header or footer that is not being edited. */ documentEditMarginal: 'Double-click to edit', pageBreak: 'Page break', insertImage: 'Image', textColor: 'Text color', defaultColor: 'Default', alignLeft: 'Align left', alignCenter: 'Center', alignRight: 'Align right', alignJustify: 'Justify', outline: 'Outline', /** The outline panel of a document without headings. */ outlineEmpty: 'Headings you add appear here.', print: 'Print', pageSize: 'Page size', orientation: 'Orientation', portrait: 'Portrait', landscape: 'Landscape', margins: 'Margins', marginsNormal: 'Normal margins', marginsNarrow: 'Narrow margins', marginsWide: 'Wide margins', marginsCustom: 'Custom margins', insertPageNumber: 'Page number', pageCount: 'Page count', /** The button that comments on the selected text. */ addComment: 'Comment', /** Accessible name of a document's comments column. */ documentComments: 'Comments', /** Accessible name of the people editing a document together. */ collaborators: 'People editing', /** Name shown for a collaborator without one. */ anonymousCollaborator: 'Anonymous', /** Marks the current person in the list of collaborators, for example \"Ana Lima (you)\". */ collaboratorYou: (name: string): string => `${name} (you)`, /** The word count in a document's status bar, for example \"1,284 words\". */ wordCount: (count: number, formatted: string): string => `${formatted} ${count === 1 ? 'word' : 'words'}`, /** The page indicator in a document's status bar, for example \"Page 2 of 5\". */ documentPageOf: (page: string, total: string): string => `Page ${page} of ${total}`, /** Accessible name of a document's zoom menu. */ documentZoom: 'Zoom', /** The zoom that fits the page to the editor's width. */ documentZoomFit: 'Fit width', /** Validation message when rich text is longer than `maxlength` characters. */ richTextTooLong: (max: number): string => `Use ${max} characters or fewer`, // ── Condition builder ──────────────────────────────────────────────────── addCondition: 'Add condition', addRule: 'Add rule', addInnerGroup: 'Add inner group', removeCondition: 'Remove condition', reorderCondition: 'Reorder condition', operatorAnd: 'And', operatorOr: 'Or', /** Label of the and/or toggle, for example \"Match conditions with And\". */ matchConditionsWith: (operator: string): string => `Match conditions with ${operator}`, /** Description of a rule's handle: the keys that move the rule. */ reorderConditionHint: 'Arrow Up and Arrow Down move the condition. Arrow Right moves it into the group beside it, Arrow Left out of its group.', /** Announced after a rule moved with the keyboard, for example \"Moved to position 2 of 3\". */ conditionMoved: (position: number, total: number): string => `Moved to position ${position} of ${total}`, /** Announced after a rule moved into a group with the keyboard. */ conditionMovedIntoGroup: (position: number, total: number): string => `Moved into group, position ${position} of ${total}`, /** Announced after a rule moved out of its group with the keyboard. */ conditionMovedOutOfGroup: (position: number, total: number): string => `Moved out of group, position ${position} of ${total}`, // ── Date range field ───────────────────────────────────────────────────── chooseDateRange: 'Choose date range', /** Accessible name of the list of preset ranges beside the calendar. */ dateRangePresets: 'Preset ranges', // ── Character counter ──────────────────────────────────────────────────── /** Text of a field's character counter, for example \"12/100\". */ characterCount: (count: number, max: number): string => `${count}/${max}`, // ── Filter bar ─────────────────────────────────────────────────────────── /** Accessible name of a filter bar without a `label`. */ filters: 'Filters', addFilter: 'Add filter', clearFilters: 'Clear all', saveView: 'Save view', /** The views menu entry that shows every item, with no filter. */ allItems: 'All', /** Accessible name of the saved views menu button. */ views: 'Views', yes: 'Yes', no: 'No', /** Text of an active filter chip, for example \"Status: Open\". */ filterValue: (label: string, value: string): string => `${label}: ${value}`, /** Count of values a filter chip does not show, for example \"+2\". */ moreValues: (count: number): string => `+${count}`, /** Announced after a filter is removed, for example \"Status filter removed\". */ filterRemoved: (label: string): string => `${label} filter removed`, /** Announced after \"Clear all\". */ filtersCleared: 'All filters cleared', // ── Pin input ──────────────────────────────────────────────────────────── /** Accessible name of a numeric pin input's cell, for example \"Digit 2 of 6\". */ pinInputDigit: (position: number, total: number): string => `Digit ${position} of ${total}`, /** Accessible name of an alphanumeric pin input's cell, for example \"Character 2 of 6\". */ pinInputCharacter: (position: number, total: number): string => `Character ${position} of ${total}`, /** Message of a pin input whose code is only partly entered, for example \"Enter all 6 characters.\". */ pinInputIncomplete: (total: number): string => `Enter all ${total} characters.`, // ── File upload ────────────────────────────────────────────────────────── /** Drop zone text before the browse link, with `multiple`. */ dropFilesHere: 'Drag files here or', /** Drop zone text before the browse link, without `multiple`. */ dropFileHere: 'Drag a file here or', /** Browse link in the drop zone, with `multiple`. */ chooseFiles: 'choose files', /** Browse link in the drop zone, without `multiple`. */ chooseFile: 'choose a file', /** Accessible name of the list of chosen files. */ chosenFiles: 'Chosen files', /** Remove button of a listed file, for example \"Remove report.pdf\". */ removeFile: (name: string): string => `Remove ${name}`, /** Status of a file the app marked as done. */ fileUploaded: 'Uploaded', /** Accessible name of a file's progress bar, for example \"Uploading report.pdf\". */ uploadingFile: (name: string): string => `Uploading ${name}`, /** A file not added because `accept` does not allow it. */ fileTypeRejected: (name: string): string => `${name} is not an accepted file type`, /** A file not added because it is over `max-size`, for example \"a.png is larger than 5 MB\". */ fileSizeRejected: (name: string, maxSize: string): string => `${name} is larger than ${maxSize}`, /** A file not added because the list is full. */ fileCountRejected: (name: string, maxFiles: number): string => `${name} was not added: no more than ${maxFiles} ${maxFiles === 1 ? 'file' : 'files'}`, /** Announced after files are added. */ filesAdded: (count: number): string => count === 1 ? '1 file added' : `${count} files added`, /** Announced after a file is removed. */ fileRemoved: (name: string): string => `${name} removed`, /** Validation message of a required file upload with no file. */ valueMissingFile: 'Please select a file.', // ── Stepper ────────────────────────────────────────────────────────────── /** Accessible name of a stepper that has no `label`. */ stepperLabel: 'Progress', /** Position of a step, read before its label, for example \"Step 2 of 4\". */ stepPosition: (step: string, total: string): string => `Step ${step} of ${total}`, stepCompleted: 'Completed', stepNotStarted: 'Not started', stepError: 'Error', stepOptional: 'Optional', // ── Tree ───────────────────────────────────────────────────────────────── /** Shown under a tree item while its children load. */ treeLoading: 'Loading…', // ── Checkbox group and fieldset ────────────────────────────────────────── /** Validation message of a required checkbox group with nothing checked. */ valueMissingCheckboxGroup: 'Please select at least one of these options.', /** Label of the checkbox group's select-all checkbox. */ checkboxGroupSelectAll: 'Select all', // ── Form ───────────────────────────────────────────────────────────────── /** Headline of a form's error summary; `count` is formatted, `n` the number for plural rules. */ formErrorSummary: (count: string, n: number): string => n === 1 ? `There is ${count} problem with this form` : `There are ${count} problems with this form`, /** One entry of a form's error summary, a link to the field. */ formErrorItem: (label: string, message: string): string => `${label}: ${message}`, // ── Phone and currency fields ──────────────────────────────────────────── /** Accessible name of the phone field's country selector. */ phoneCountry: 'Country', phoneInvalid: 'Enter a valid phone number', /** Accessible name of the currency field's currency selector. */ currencyPicker: 'Currency', currencyInvalid: 'Enter a valid amount', /** An amount with more decimals than its currency has; 0 means whole amounts only. */ currencyTooManyDecimals: (digits: number): string => digits === 0 ? 'Enter a whole amount' : `Enter an amount with at most ${digits} decimal place${digits === 1 ? '' : 's'}`, /** Below `min`, which arrives formatted with its currency, for example \"€10.00\". */ currencyTooLow: (min: string): string => `Enter ${min} or more`, /** Above `max`, which arrives formatted with its currency. */ currencyTooHigh: (max: string): string => `Enter ${max} or less`, // ── Description list, stat, sparkline ──────────────────────────────────── /** Read in place of the dash shown for an empty description item or stat value. */ notSet: 'Not set', /** Accessible name of a sparkline without values. */ sparklineNoData: 'No data', /** Summary of a sparkline with one value, for example \"Value 12\". */ sparklineValue: (value: string): string => `Value ${value}`, /** Summary of a sparkline, for example \"Trend from 12 to 18, high 21, low 9\". */ sparklineSummary: ( first: string, last: string, high: string, low: string, ): string => `Trend from ${first} to ${last}, high ${high}, low ${low}`, /** What a stat's change is measured against when it has no `comparison`. */ statComparison: 'from last period', /** A stat's rise, for example \"up 8% from last period\". */ statUp: (change: string, comparison: string): string => `up ${change} ${comparison}`, /** A stat's fall, for example \"down 3% from last period\". */ statDown: (change: string, comparison: string): string => `down ${change} ${comparison}`, /** A stat without change, for example \"unchanged from last period\". */ statUnchanged: (comparison: string): string => `unchanged ${comparison}`, /** Accessible name of a stat's info button, whose tooltip explains the metric. */ statHelp: 'About this metric', // ── Transfer list and status indicator ─────────────────────────────────── /** Default headline of a transfer list's source list. */ transferListAvailable: 'Available', /** Default headline of a transfer list's list of chosen items. */ transferListSelected: 'Selected', /** A transfer list's headline with its item count (formatted), for example \"Selected (3)\". */ transferListHeadline: (headline: string, count: string): string => `${headline} (${count})`, /** Button that moves the checked items, for example \"Move checked items to Selected\". */ transferListMoveChecked: (target: string): string => `Move checked items to ${target}`, /** Button that moves every shown item, for example \"Move all items to Selected\". */ transferListMoveAll: (target: string): string => `Move all items to ${target}`, /** Button that moves the checked selected items one place up. */ transferListMoveUp: 'Move up', /** Button that moves the checked selected items one place down. */ transferListMoveDown: 'Move down', /** Accessible name of a list's search box, for example \"Search Available\". */ transferListSearch: (headline: string): string => `Search ${headline}`, /** Shown in a list with no items. */ transferListEmpty: 'No items', /** Shown in a list whose items all miss the search. */ transferListNoMatches: 'No matching items', /** Announced after a move; `formatted` is `count` formatted, for example \"2 items moved to Selected\". */ transferListMoved: ( count: number, formatted: string, target: string, ): string => count === 1 ? `1 item moved to ${target}` : `${formatted} items moved to ${target}`, /** Announced after reordering one item, for example \"Editor, position 2 of 5\". */ transferListPosition: ( label: string, position: string, total: string, ): string => `${label}, position ${position} of ${total}`, /** Accessible name of a dot-only status indicator without `label` or `intent`. */ statusIndicatorNeutral: 'Status', // ── App shell, page header, resizable panels ───────────────────────────── /** The app shell's skip link, the first thing a keyboard user reaches. */ skipToMainContent: 'Skip to main content', /** The app shell's menu button that opens the navigation drawer on narrow screens. */ openNavigation: 'Open navigation', /** Accessible name of the page header's back link when it has no `back-label`. */ back: 'Back', /** Accessible name of a divider between two resizable panels without labels. */ resizePanels: 'Resize panels', /** Accessible name of a divider before a labelled panel, for example \"Resize Inbox\". */ resizePanel: (panel: string): string => `Resize ${panel}`, // ── Stack, grid, avatar group, copy button ─────────────────────────────── /** Default accessible name of a `wc-avatar-group`. */ avatarGroupLabel: 'Members', /** Accessible name of the avatar group's overflow button; `count` is already formatted. */ avatarGroupMore: (count: string): string => `${count} more`, /** Default accessible name and tooltip of a `wc-copy-button`. */ copy: 'Copy', /** Tooltip and announcement of a `wc-copy-button` whose copy failed. */ copyFailed: 'Copy failed', // ── Command palette, workspace switcher, user menu ─────────────────────── /** Default accessible name of a command palette. */ commandPalette: 'Command palette', /** Placeholder of a command palette's search field. */ commandPalettePlaceholder: 'Type a command or search', /** Heading of the recent commands, shown while the query is empty. */ commandPaletteRecent: 'Recent', /** Shown when no command matches, for example `No results for \"deploy\"`. */ commandPaletteNoResults: (query: string): string => `No results for \"${query}\"`, /** Shown when a command palette has no commands. */ commandPaletteEmpty: 'No commands', /** Announced as results change; `formatted` is `count` formatted, for example \"5 results\". */ commandPaletteResults: (count: number, formatted: string): string => count === 1 ? '1 result' : `${formatted} results`, /** Accessible name of a workspace switcher's trigger, for example \"Acme, switch workspace\". */ workspaceSwitcherTrigger: (name: string): string => name ? `${name}, switch workspace` : 'Switch workspace', /** Accessible name of a workspace switcher's menu. */ workspaceSwitcherMenu: 'Workspaces', /** Label of a workspace switcher's search field. */ workspaceSwitcherSearch: 'Search workspaces', /** Shown when no workspace matches the search, for example `No workspaces match \"acm\"`. */ workspaceSwitcherNoResults: (query: string): string => `No workspaces match \"${query}\"`, /** A workspace switcher's create action (`creatable`). */ workspaceSwitcherCreate: 'Create workspace', /** Accessible name of a user menu's avatar button, for example \"Account menu for Ada Lovelace\". */ userMenuTrigger: (name: string): string => name ? `Account menu for ${name}` : 'Account menu', /** Heading of a user menu's theme section. */ userMenuTheme: 'Theme', userMenuThemeLight: 'Light', userMenuThemeDark: 'Dark', /** The theme that follows the operating system's light or dark setting. */ userMenuThemeSystem: 'System', // ── Banner, notification center, tour ──────────────────────────────────── /** Accessible name of a banner's close button. */ dismissBanner: 'Dismiss banner', /** Default name of a notification center's bell and panel. */ notificationCenterLabel: 'Notifications', /** The bell's accessible name with the unread count (formatted), for example \"Notifications, 3 unread\". */ notificationCenterBell: ( label: string, count: number, formatted: string, ): string => (count === 0 ? label : `${label}, ${formatted} unread`), /** Announced when notifications arrive while the panel is closed, for example \"2 new notifications\". */ notificationCenterNew: (count: number, formatted: string): string => count === 1 ? '1 new notification' : `${formatted} new notifications`, /** Name of the All / Unread filter buttons. */ notificationCenterFilter: 'Show', notificationCenterAll: 'All', /** The Unread filter, and read before an unread notification's title. */ notificationCenterUnread: 'Unread', notificationCenterMarkAllRead: 'Mark all as read', notificationCenterMarkRead: 'Mark as read', notificationCenterMarkUnread: 'Mark as unread', notificationCenterYesterday: 'Yesterday', notificationCenterEmpty: 'No notifications', notificationCenterEmptyUnread: 'No unread notifications', notificationCenterLoadMore: 'Load more', /** A tour's Back button. */ tourBack: 'Back', /** A tour's Next button. */ tourNext: 'Next', /** A tour's button on the last step. */ tourDone: 'Done', /** Accessible name of a tour's close button. */ tourSkip: 'Skip tour', // ── Inline edit, comment thread ────────────────────────────────────────── /** Accessible name of an inline edit's pencil button, for example \"Edit Title\". */ inlineEditEdit: (label: string): string => (label ? `Edit ${label}` : 'Edit'), /** An inline edit's save button (with `show-actions`). */ inlineEditSave: 'Save', /** An inline edit's cancel button (with `show-actions`). */ inlineEditCancel: 'Cancel', /** Spoken while an inline edit waits for the app to save. */ inlineEditSaving: 'Saving', /** Default accessible name of a comment thread. */ commentThreadLabel: 'Comments', /** A comment thread without comments. */ commentThreadEmpty: 'No comments yet', /** Label and placeholder of a comment thread's composer. */ commentComposerLabel: 'Add a comment', /** The composer's send button. */ commentSend: 'Send', /** The button that opens a reply composer under a comment. */ commentReply: 'Reply', /** Label and placeholder of a reply composer, for example \"Reply to Ada Lovelace\". */ commentReplyTo: (author: string): string => `Reply to ${author}`, /** A reply composer's cancel button. */ commentCancel: 'Cancel', /** Comment actions menu items. */ commentEdit: 'Edit', commentDelete: 'Delete', commentCopyLink: 'Copy link', /** Accessible name of a comment's actions button, for example \"More actions for comment by Ada\". */ commentActions: (author: string): string => `More actions for comment by ${author}`, /** Marker after the time of an edited comment. */ commentEdited: 'Edited', /** Accessible name of a comment, for example \"Comment by Ada Lovelace, 2 hours ago\". */ commentLabel: (author: string, time: string): string => time ? `Comment by ${author}, ${time}` : `Comment by ${author}`, /** Accessible name of a reply, for example \"Reply by Ada Lovelace, 2 hours ago\". */ commentReplyLabel: (author: string, time: string): string => time ? `Reply by ${author}, ${time}` : `Reply by ${author}`, /** Accessible name of a comment's replies, for example \"Replies to Ada Lovelace\". */ commentReplies: (author: string): string => `Replies to ${author}`, /** Announced politely when a comment is added, for example \"New comment by Ada Lovelace\". */ commentAdded: (author: string): string => `New comment by ${author}`, /** Author shown for a comment without one. */ commentUnknownAuthor: 'Unknown author', /** The save button of a comment being edited. */ commentSave: 'Save', /** Accessible name of an activity entry, for example \"Activity by Ada Lovelace, 2 hours ago\". */ activityLabel: (author: string, time: string): string => time ? `Activity by ${author}, ${time}` : `Activity by ${author}`, // ── Password rules, rating, signature pad ──────────────────────────────── /** Accessible name of a password rules checklist. */ passwordRulesLabel: 'Password requirements', /** Built-in `min-length` rule, for example \"At least 12 characters\". */ passwordRuleMinLength: (count: number): string => count === 1 ? 'At least 1 character' : `At least ${count} characters`, /** Built-in `require-uppercase` rule. */ passwordRuleUppercase: 'One uppercase letter', /** Built-in `require-lowercase` rule. */ passwordRuleLowercase: 'One lowercase letter', /** Built-in `require-number` rule. */ passwordRuleNumber: 'One number', /** Built-in `require-symbol` rule. */ passwordRuleSymbol: 'One symbol', /** Status of a met password rule, read after its label. */ passwordRuleMet: 'met', /** Status of an unmet password rule, read after its label. */ passwordRuleNotMet: 'not met', /** Announced when a rule flips, for example \"One number: met\". */ passwordRuleAnnouncement: (label: string, status: string): string => `${label}: ${status}`, /** Announced when the last failing rule is met. */ passwordRulesAllMet: 'All password requirements met', /** Validation message set on the connected password field while rules fail. */ passwordRulesInvalid: 'Password does not meet the requirements.', /** Default accessible name of a rating. */ ratingLabel: 'Rating', /** Value text of a rating, for example \"3 out of 5\". */ ratingValueText: (value: string, max: string): string => `${value} out of ${max}`, /** Value text of a rating with no value. */ ratingNoValue: 'No rating', /** Accessible name of a read-only rating, for example \"Rated 4.3 out of 5\". */ ratingReadonly: (value: string, max: string): string => `Rated ${value} out of ${max}`, /** Validation message of a required rating with no value. */ valueMissingRating: 'Please choose a rating.', /** Default accessible name of a signature pad. */ signaturePadLabel: 'Signature', /** Hint shown on an empty signature pad. */ signaturePadPlaceholder: 'Sign here', /** Status of an empty signature pad, read after its label. */ signaturePadEmpty: 'empty', /** Status of a signed signature pad, read after its label. */ signaturePadSigned: 'signed', /** Accessible name of a signature pad's drawing, for example \"Signature, empty\". */ signaturePadImage: (label: string, status: string): string => `${label}, ${status}`, /** Undo button of a signature pad. */ signaturePadUndo: 'Undo last stroke', /** Clear button of a signature pad. */ signaturePadClear: 'Clear signature', /** Button that switches a signature pad to typing the name. */ signaturePadTypeInstead: 'Type your name instead', /** Button that switches a signature pad back to drawing. */ signaturePadDrawInstead: 'Draw instead', /** Label of the name field of a signature pad in typing mode. */ signaturePadTypedName: 'Your name', /** Validation message of a required signature pad with no signature. */ valueMissingSignature: 'Please sign.', // ── Mention input, kbd, hover card ─────────────────────────────────────── /** Accessible name of a mention input's suggestion list. */ mentionSuggestions: 'Suggestions', /** Announced as a mention input's suggestions change; `formatted` is `count` formatted. */ mentionResults: (count: number, formatted: string): string => count === 1 ? '1 suggestion' : `${formatted} suggestions`, /** Spoken names of keys in `wc-kbd`, read instead of the symbols. */ kbdCommand: 'Command', kbdControl: 'Control', kbdOption: 'Option', kbdAlt: 'Alt', kbdShift: 'Shift', kbdWindows: 'Windows', kbdEnter: 'Enter', kbdReturn: 'Return', kbdEscape: 'Escape', kbdTab: 'Tab', kbdBackspace: 'Backspace', kbdDelete: 'Delete', kbdSpace: 'Space', kbdArrowUp: 'Up arrow', kbdArrowDown: 'Down arrow', kbdArrowLeft: 'Left arrow', kbdArrowRight: 'Right arrow', kbdPageUp: 'Page up', kbdPageDown: 'Page down', kbdHome: 'Home', kbdEnd: 'End', kbdCapsLock: 'Caps Lock', /** Short labels `wc-kbd` shows off Apple platforms. */ kbdCtrlShort: 'Ctrl', kbdWinShort: 'Win', kbdEscShort: 'Esc', kbdDelShort: 'Del', kbdPageUpShort: 'PgUp', kbdPageDownShort: 'PgDn', // ── Kanban, virtual list ───────────────────────────────────────────────── /** Default accessible name of a kanban board. */ kanbanLabel: 'Board', /** Read with each kanban card, from `aria-describedby`. */ kanbanInstructions: 'Press Space or Enter to pick up the card. Use the arrow keys to move it, Space or Enter to drop it, and Escape to cancel.', /** Accessible name of a column's card count, for example \"3 cards\" or \"6 of 5 cards\". */ kanbanCount: (count: number, formatted: string, limit?: string): string => { if (limit) return `${formatted} of ${limit} cards`; return count === 1 ? '1 card' : `${formatted} cards`; }, /** Shown in a column header with more cards than its limit. */ kanbanOverLimit: 'Over limit', /** A column without cards. */ kanbanEmpty: 'No cards', /** A column's add button. */ kanbanAddCard: 'Add card', /** Accessible name of a column's add button, for example \"Add card to To do\". */ kanbanAddCardTo: (column: string): string => `Add card to ${column}`, /** Announced when a card is picked up, for example \"Picked up card Fix login. Column To do, position 2 of 5.\" */ kanbanPickedUp: ( card: string, column: string, position: string, total: string, ): string => `Picked up card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced at each keyboard move of a lifted card. */ kanbanMoved: ( card: string, column: string, position: string, total: string, ): string => `Card ${card}: column ${column}, position ${position} of ${total}.`, /** Announced when a card is dropped. */ kanbanDropped: ( card: string, column: string, position: string, total: string, ): string => `Dropped card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced when a move is canceled, by Escape or by the app. */ kanbanCanceled: ( card: string, column: string, position: string, total: string, ): string => `Move canceled. Card ${card} is back in column ${column}, position ${position} of ${total}.`, // ── JSON viewer, diff viewer ───────────────────────────────────────────── /** Default accessible name of a JSON viewer's tree. */ jsonViewer: 'JSON', /** Size of a collapsed object, for example \"3 keys\"; `formatted` is `count` formatted. */ jsonViewerKeys: (count: number, formatted: string): string => count === 1 ? '1 key' : `${formatted} keys`, /** Size of a collapsed array, for example \"12 items\"; `formatted` is `count` formatted. */ jsonViewerItems: (count: number, formatted: string): string => count === 1 ? '1 item' : `${formatted} items`, /** Row that renders the next children of a large node, for example \"Show 100 more of 12,245\". */ jsonViewerShowMore: (next: string, hidden: string): string => `Show ${next} more of ${hidden}`, /** After a truncated string, for example \"1,234 more characters\". */ jsonViewerMoreCharacters: (count: number, formatted: string): string => count === 1 ? '1 more character' : `${formatted} more characters`, jsonViewerCopyValue: 'Copy value', jsonViewerCopyPath: 'Copy path', /** Announced after a JSON value or path is copied. */ jsonViewerCopiedValue: 'Copied value to clipboard', jsonViewerCopiedPath: 'Copied path to clipboard', /** Shown instead of a value that contains itself. */ jsonViewerCircular: 'Circular reference', /** Shown when the `value` attribute is not valid JSON, with the parser's message. */ jsonViewerInvalid: (message: string): string => `Invalid JSON: ${message}`, /** Default accessible name of a diff viewer's table. */ diffViewer: 'Changes', /** Summary above a diff, for example \"3 additions, 2 deletions\"; the strings are the counts formatted. */ diffSummary: ( additions: number, deletions: number, formattedAdditions: string, formattedDeletions: string, ): string => `${additions === 1 ? '1 addition' : `${formattedAdditions} additions`}, ${ deletions === 1 ? '1 deletion' : `${formattedDeletions} deletions` }`, /** Summary above a diff of two identical texts. */ diffNoChanges: 'No changes', /** Screen-reader text before an added line, for example \"Added line 13\"; `line` is formatted. */ diffAddedLine: (line: string): string => `Added line ${line}`, /** Screen-reader text before a removed line, for example \"Removed line 12\"; `line` is formatted. */ diffRemovedLine: (line: string): string => `Removed line ${line}`, /** Button that shows hidden unchanged lines, for example \"Show 24 unchanged lines\". */ diffShowUnchanged: (count: number, formatted: string): string => count === 1 ? 'Show 1 unchanged line' : `Show ${formatted} unchanged lines`, /** Shown on the last line of a side that does not end with a line break, when the other does. */ diffNoNewline: 'No newline at end of file', /** Note shown when the texts are too different or too large to compare line by line. */ diffApproximate: 'These texts are too different to compare line by line, so the changed part is shown as removed and then added.', /** Note shown when only the line endings tell the sides apart, for example \"CRLF\" and \"LF\". */ diffLineEndings: (oldEnding: string, newEnding: string): string => `Line endings differ: ${oldEnding} in the old text, ${newEnding} in the new text.`, /** Column headers of a split diff. */ diffOld: 'Old', diffNew: 'New', // ── Anchor nav, scroll area, presence indicator, relative time ─────────── /** Default accessible name of an anchor nav's `nav` landmark. */ anchorNavLabel: 'On this page', /** Presence status of a person, read after their name. */ presenceOnline: 'Online', presenceAway: 'Away', presenceBusy: 'Busy', presenceOffline: 'Offline', /** Accessible name of an avatar with a presence indicator, for example \"Ana Lima, online\". */ presenceLabel: (name: string, status: string): string => name ? `${name}, ${status.toLowerCase()}` : status, // ── Confirm dialog ─────────────────────────────────────────────────────── /** Default label of a confirm dialog's confirm button. */ confirm: 'Confirm', /** Default label of a confirm dialog's cancel button. */ cancel: 'Cancel', /** Label of a confirm dialog's type-to-confirm field, for example \"Type acme-prod to confirm\". */ typeToConfirm: (text: string): string => `Type ${text} to confirm`, // ── Diagrams (flow, workflow, tree chart, ERD, dependency map) ────────── /** Default accessible name of a diagram canvas. */ diagramLabel: 'Diagram', /** Read with a diagram canvas, from `aria-describedby`. */ diagramInstructions: 'Drag the canvas or use the arrow keys to pan. Hold Ctrl or Command and scroll to zoom. Shift+1 fits all content, Home goes back to the start.', diagramZoomIn: 'Zoom in', diagramZoomOut: 'Zoom out', diagramFit: 'Fit to content', diagramZoomToSelection: 'Zoom to selection', diagramBackToStart: 'Back to start', diagramBackToContent: 'Back to content', /** Accessible name of the zoom level button, for example \"Zoom level, 80%\". */ diagramZoomLevel: (percent: string): string => `Zoom level, ${percent}`, diagramUndo: 'Undo', diagramRedo: 'Redo', diagramControls: 'Diagram controls', diagramMinimap: 'Minimap', /** Role description of a diagram node, read by screen readers instead of \"group\". */ diagramNode: 'node', /** Accessible name of a connection, for example \"Connection from Start to Review: approve\". */ diagramEdgeLabel: (from: string, to: string, label?: string): string => `Connection from ${from} to ${to}${label ? `: ${label}` : ''}`, /** Announced after a node moves, for example \"Review moved to 120, 40\". */ diagramMoved: (label: string, x: string, y: string): string => `${label} moved to ${x}, ${y}`, /** Announced after a connection is made. */ diagramConnected: (from: string, to: string): string => `Connected ${from} to ${to}`, /** Announced after nodes and connections are deleted. */ diagramDeleted: (count: number): string => count === 1 ? '1 item deleted' : `${count} items deleted`, /** Announced after pasting, for example \"3 items pasted\". */ diagramPasted: (count: number): string => count === 1 ? '1 item pasted' : `${count} items pasted`, // ── Workflow ───────────────────────────────────────────────────────────── workflowLabel: 'Workflow', workflowAddStep: 'Add step', workflowAddTrigger: 'Add a trigger', workflowSearchSteps: 'Search steps', workflowNoSteps: 'No matching steps', workflowOnError: 'On error', workflowWaitForAll: 'Wait for all', workflowEnd: 'End', workflowMoreActions: 'More actions', workflowDuplicate: 'Duplicate', workflowDelete: 'Delete', workflowCollapse: 'Collapse', workflowExpand: 'Expand', workflowOutputs: 'Outputs', workflowTools: 'Tools', workflowUntil: 'Until', /** Summary of a collapsed branch or loop, for example \"3 paths, 7 steps\". */ workflowCollapsedSummary: (paths: number, steps: number): string => `${paths === 1 ? '1 path' : `${paths} paths`}, ${steps === 1 ? '1 step' : `${steps} steps`}`, /** Label of the problems button, for example \"2 problems\". */ workflowProblems: (count: number): string => count === 1 ? '1 problem' : `${count} problems`, workflowUnreachable: 'This step never runs: the path before it ends.', workflowLoopForEach: 'For each', workflowLoopWhile: 'While', workflowLoopUntil: 'Repeat until', /** Announced after a step is added, for example \"Send email added\". */ workflowStepAdded: (name: string): string => `${name} added`, workflowStepRemoved: (name: string): string => `${name} removed`, workflowStepMoved: (name: string): string => `${name} moved`, /** Accessible name of an add-step button, for example \"Add step after Look up manager\". */ workflowAddStepAfter: (name: string): string => `Add step after ${name}`, workflowAddStepIn: (name: string): string => `Add step in ${name}`, // ── Tree chart ─────────────────────────────────────────────────────────── treeChartLabel: 'Tree chart', treeChartLoading: 'Loading', treeChartAddChild: 'Add below', treeChartAddSibling: 'Add beside', treeChartNewItem: 'New item', /** Accessible name of the count chip, for example \"Expand Elena Rostova, 4 below\". */ treeChartExpand: (name: string, count: number): string => count ? `Expand ${name}, ${count} below` : `Expand ${name}`, treeChartCollapse: (name: string): string => `Collapse ${name}`, /** Announced after a drag, for example \"Ana Ruiz moved under Elena Rostova\". */ treeChartMoved: (name: string, parent: string): string => parent ? `${name} moved under ${parent}` : `${name} moved to the top`, treeChartRemoved: (name: string): string => `${name} removed`, /** Announced after a search, for example \"3 matches\". */ treeChartMatches: (count: number): string => count === 1 ? '1 match' : `${count} matches`, // ── Dependency map ─────────────────────────────────────────────────────── dependencyMapLabel: 'Dependency map', dependencyMapLegend: 'Legend', dependencyMapHealthy: 'Healthy', dependencyMapDegraded: 'Degraded', dependencyMapDown: 'Down', dependencyMapUnknown: 'Unknown', dependencyMapImpact: 'Impact path', dependencyMapTraffic: 'Width = traffic', dependencyMapShowType: (type: string): string => `Show ${type}`, /** A collapsed group's subtitle, for example \"8 items\". */ dependencyMapGroupCount: (count: number): string => count === 1 ? '1 item' : `${count} items`, /** Label of an aggregated edge between collapsed groups, for example \"12 connections\". */ dependencyMapEdgeCount: (count: number): string => count === 1 ? '1 connection' : `${count} connections`, dependencyMapExpandGroup: (name: string): string => `Expand ${name}`, dependencyMapCollapseGroup: (name: string): string => `Collapse ${name}`, /** Accessible name of a node, for example \"payments-db, PostgreSQL, degraded, 3 upstream, 0 downstream\". */ dependencyMapNode: ( name: string, type: string, status: string, upstream: number, downstream: number, ): string => `${name}${type ? `, ${type}` : ''}${status ? `, ${status}` : ''}, ${upstream} upstream, ${downstream} downstream`, dependencyMapRps: (value: string): string => `${value} req/s`, dependencyMapLatency: (value: string): string => `p95 ${value}`, dependencyMapErrors: (value: string): string => `${value} errors`, // ── Entity-relationship diagram ────────────────────────────────────────── erdLabel: 'Entity-relationship diagram', erdPrimaryKey: 'Primary key', erdForeignKey: 'Foreign key', erdNullable: 'Nullable', erdAddColumn: 'Add column', erdRemoveColumn: (name: string): string => `Remove ${name}`, erdTogglePrimaryKey: (name: string): string => `Toggle primary key on ${name}`, erdCollapse: (name: string): string => `Collapse ${name}`, erdExpand: (name: string): string => `Expand ${name}`, erdRename: 'Rename', erdNewColumn: 'new_column', erdNewEntity: 'new_table', erdCardinality: 'Relationship', erdManyToOne: 'Many to one', erdZeroOrManyToOne: 'Zero or many to one', erdOneToOne: 'One to one', erdZeroOrOneToOne: 'Zero or one to one', erdManyToMany: 'Many to many', /** Summary of a column count, for example \"8 columns\". */ erdColumnCount: (count: number): string => count === 1 ? '1 column' : `${count} columns`, /** Accessible name of an entity, for example \"orders, 8 columns, references customers, referenced by order_items\". */ erdEntity: ( name: string, columns: number, references: string[], referencedBy: string[], ): string => [ name, columns === 1 ? '1 column' : `${columns} columns`, references.length ? `references ${references.join(', ')}` : '', referencedBy.length ? `referenced by ${referencedBy.join(', ')}` : '', ] .filter(Boolean) .join(', '), /** Announced after a relation is added, for example \"orders.customer_id references customers.id\". */ erdConnected: (from: string, to: string): string => `${from} references ${to}`, // ── Workflow debugging ─────────────────────────────────────────────────── workflowDebugBar: 'Debugging', workflowContinue: 'Continue', workflowPause: 'Pause', workflowStepOver: 'Step over', workflowStepInto: 'Step into', workflowRestart: 'Restart', workflowStop: 'Stop', workflowRetryFromHere: 'Retry from here', workflowBreakpoint: 'Breakpoint', workflowToggleBreakpoint: 'Toggle breakpoint', workflowPinData: 'Pin data', workflowUnpinData: 'Unpin data', workflowPinned: 'Data pinned', workflowPreviousIteration: 'Previous iteration', workflowNextIteration: 'Next iteration', /** Iteration picker label, for example \"Iteration 3 of 12\". */ workflowIteration: (index: number, total: number): string => `Iteration ${index} of ${total}`, /** Short iteration label, for example \"3 / 12\". */ workflowIterationShort: (index: number, total: number): string => `${index} / ${total}`, workflowRunTimeline: 'Run timeline', /** Status of a step or run, shown on cards and read by screen readers. */ workflowStatusQueued: 'Queued', workflowStatusRunning: 'Running', workflowStatusWaiting: 'Waiting', workflowStatusPaused: 'Paused', workflowStatusSuccess: 'Succeeded', workflowStatusFailed: 'Failed', workflowStatusSkipped: 'Skipped', workflowStatusCanceled: 'Canceled', /** Summary of a run, for example \"Run 184, Failed, 2 h 15 min\". */ workflowRunSummary: (id: string, status: string, duration: string): string => duration ? `Run ${id} · ${status} · ${duration}` : `Run ${id} · ${status}`, /** Announced when the run moves, for example \"Send email succeeded\". */ workflowStepStatus: (name: string, status: string): string => `${name}: ${status.toLowerCase()}`, // ── AI (ADR-030002) ────────────────────────────────────────────────────── /** Label of an AI badge on a value the person hasn't accepted yet. */ aiSuggested: 'Suggested', /** Label of an AI badge on a record or text waiting to be confirmed. */ aiDraft: 'Draft', /** Label of an AI badge on read-only output, such as a summary. */ aiGenerated: 'By the assistant', /** Accessible name of the clear button on a \"Suggested\" badge. */ aiClearSuggestion: 'Clear suggestion', /** Accessible name of the clear button on a \"Draft\" badge. */ aiDiscardDraft: 'Discard draft', /** Accessible name of the clear button on a generated-output badge. */ aiHideGenerated: 'Hide', /** Read after a suggested field's label, for example \"Suggested by the assistant. Assigned to you.\" */ aiSuggestedDescription: (reason: string): string => reason ? `Suggested by the assistant. ${reason}` : 'Suggested by the assistant.', /** Headline of a form's draft banner. */ aiDraftBannerHeadline: 'Drafted by the assistant.', /** Text of a form's draft banner. */ aiDraftBannerText: 'Check the marked fields before you submit.', /** The draft banner's button that clears every suggestion in the form. */ aiClearAll: 'Clear all', /** Heading above the suggested option in a select's list. */ aiSuggestedOption: 'Suggested', /** Read with a field while ghost text shows, for example \"Suggestion: returned on Thursday. Press Tab to accept.\" */ aiGhostHint: (text: string): string => `Suggestion: ${text}. Press Tab to accept, Escape to dismiss.`, /** Heading of the AI actions in a slash menu. */ aiAssistantGroup: 'Assistant', /** Heading of the blocks in a slash menu that also lists AI actions. */ slashBlocksGroup: 'Blocks', /** The button that opens the AI actions for the selected text. */ aiAskAi: 'Ask AI', /** Accessible name of the AI actions menu. */ aiActions: 'AI actions', aiImprove: 'Improve writing', aiShorten: 'Make shorter', aiFix: 'Fix spelling and grammar', aiTranslate: 'Translate…', aiCustom: 'Tell it what to change…', aiContinue: 'Continue writing', aiSummarizeAbove: 'Summarize above', /** Label of the instruction field for \"Tell it what to change\". */ aiInstruction: 'What should change?', /** Label of the language field for \"Translate\". */ aiTargetLanguage: 'Translate to', /** Button that sends the instruction or language. */ aiGo: 'Go', aiAccept: 'Accept', aiDiscard: 'Discard', aiTryAgain: 'Try again', aiStop: 'Stop', /** Shown while the assistant writes. */ aiWriting: 'Writing…', /** Toggle between the suggested text and its changes. */ aiResult: 'Result', aiChanges: 'Changes', /** Accessible name of the panel with the assistant's suggested text. */ aiPreview: 'Suggested text', /** Shown when a rewrite fails. */ aiFailed: \"The assistant couldn't write this. Your text is unchanged.\", // ── Conversation (prompt input, chat, steps, draft card, assistant panel) ── promptPlaceholder: 'Ask for something', promptSend: 'Send', promptStop: 'Stop', /** Who wrote a message, read before it. */ chatYou: 'You', chatAssistant: 'Assistant', chatCopy: 'Copy', chatRegenerate: 'Try again', chatGoodAnswer: 'Good answer', chatBadAnswer: 'Bad answer', /** Shown when an answer failed. */ chatFailed: \"The assistant couldn't answer.\", /** Accessible name of the conversation log. */ chatLog: 'Conversation', chatJumpToLatest: 'Jump to latest', /** Announced when an answer is complete, for example \"Assistant: Desk support has 2 loaners free.\" */ chatAnnouncement: (author: string, text: string): string => `${author}: ${text}`, assistantStepsShow: 'Show steps', assistantStepsHide: 'Hide steps', /** Read after an assistant step, for its status. */ assistantStepPending: 'Waiting', assistantStepRunning: 'In progress', assistantStepDone: 'Done', assistantStepError: 'Failed', assistantStepBlocked: 'Not allowed', draftConfirm: 'Confirm', draftEdit: 'Edit in form', draftDiscard: 'Discard draft', draftDiscarded: 'Discarded · nothing was sent', draftOpen: 'Open', draftCantUndo: \"This can't be undone.\", draftFailed: \"This couldn't be saved.\", panelHeadline: 'Assistant', panelNewConversation: 'New conversation', panelClose: 'Close the assistant', panelDisclaimer: 'The assistant can be wrong. Check a draft before you send it.', // ── Ask and summarize ──────────────────────────────────────────────────── aiSummaryFailed: \"The summary couldn't be written.\", aiSummaryGood: 'Good summary', aiSummaryBad: 'Bad summary', /** The Ask button of a search box with `ask`. */ searchAsk: 'Ask', /** Accessible name of the Ask button. */ searchAskLabel: 'Ask the assistant', /** The command palette's Ask row, for example \"Ask the assistant: “who approved the trip?”\". */ commandPaletteAsk: (query: string): string => `Ask the assistant: “${query}”`, commandPaletteAskDescription: 'Answers with your access', /** The filter bar's button that turns the search text into filters. */ filterBarFromSentence: 'Turn into filters', filterBarAiFailed: \"Couldn't turn this into filters.\", /** Announced when a sentence became filters, for example \"3 filters suggested\". */ filterBarAiApplied: (count: number): string => count === 1 ? '1 filter suggested' : `${count} filters suggested`, /** Label of the condition builder's describe field. */ conditionDescribe: 'Describe the condition', conditionDescribeGo: 'Go', conditionDescribeFailed: \"Couldn't turn this into rules.\", /** Label of the marker on a reply the assistant drafted. */ aiSuggestedReply: 'Suggested reply', /** Default label of a typing indicator. */ typingThinking: 'Thinking…', /** Accessible name of a citation chip, for example \"Source 2: Payroll integration\". */ citationLabel: (label: string, headline: string): string => headline ? `Source ${label}: ${headline}` : `Source ${label}`, }",
325
+ "default": "{ // ── Shared ───────────────────────────────────────────────────────────────── dismiss: 'Dismiss', close: 'Close', clear: 'Clear', loading: 'Loading', today: 'Today', disabled: 'Disabled', readOnly: 'Read only', dragToReorder: 'Drag to reorder', readOnlyTag: 'Read Only', // ── Intents (alert, notification) ──────────────────────────────────────── intentNote: 'Note', intentInfo: 'Info', intentSuccess: 'Success', intentWarning: 'Warning', intentError: 'Error', intentInformation: 'Information', // ── Fields ──────────────────────────────────────────────────────────────── showPassword: 'Show password', hidePassword: 'Hide password', invalidUrl: 'Please enter a valid URL', editUrl: 'Edit URL', slider: 'Slider', increase: 'Increase', decrease: 'Decrease', // ── Validation (for controls without a native input to ask) ────────────── // Worded like the browser's own messages, which fields with a native input show. valueMissing: 'Please fill out this field.', valueMissingSelect: 'Please select an item in the list.', valueMissingCheckbox: 'Please check this box if you want to proceed.', valueMissingRadio: 'Please select one of these options.', // ── Search and select ──────────────────────────────────────────────────── search: 'Search', clearSearch: 'Clear search', searchOptions: 'Search options', selectOption: 'Select option', options: 'Options', noResults: 'No results', noOptions: 'No options', /** Label of an option whose value is empty and that has no label of its own. */ none: 'None', /** Row of a select with `allow-custom` that keeps the typed text, for example `Create \"Kiwi\"`. */ createOption: (text: string): string => `Create \"${text}\"`, // ── Color ──────────────────────────────────────────────────────────────── chooseColor: 'Choose color', hexColor: 'Hex color', hexColorValue: 'Hex color value', hexLabel: 'HEX', saturationAndBrightness: 'Saturation and brightness', hue: 'Hue', opacity: 'Opacity', opacityPercentage: 'Opacity percentage', hexColorError: 'Enter a hex color, such as #7c5df0', /** The same error for a color field with `alpha`, which also takes an opacity. */ hexColorAlphaError: 'Enter a hex color, such as #7c5df0 or #7c5df080', /** Spoken value of the saturation and brightness area, for example \"Saturation 40%, Brightness 80%\". */ saturationBrightnessValue: (saturation: string, brightness: string): string => `Saturation ${saturation}%, Brightness ${brightness}%`, // ── Date and time ──────────────────────────────────────────────────────── chooseDate: 'Choose date', chooseDateAndTime: 'Choose date and time', chooseTime: 'Choose time', previousMonth: 'Previous month', nextMonth: 'Next month', previousYear: 'Previous year', nextYear: 'Next year', previousYears: 'Previous years', nextYears: 'Next years', hours: 'Hours', minutes: 'Minutes', seconds: 'Seconds', dayPeriod: 'AM/PM', /** Error for text that does not parse; `format` is the format hint, for example \"MM/DD/YYYY\". */ enterFormat: (format: string): string => `Enter ${format}`, /** Errors for a value outside `min` or `max`; the argument is the formatted limit. */ pickDateOnOrAfter: (date: string): string => `Pick a date on or after ${date}`, pickDateOnOrBefore: (date: string): string => `Pick a date on or before ${date}`, /** Error for a date `isDateDisabled` rules out; the argument is the formatted date. */ dateUnavailable: (date: string): string => `${date} isn't available`, pickTimeAtOrAfter: (time: string): string => `Pick a time at or after ${time}`, pickTimeAtOrBefore: (time: string): string => `Pick a time at or before ${time}`, pickDateTimeOnOrAfter: (dateTime: string): string => `Pick a time on or after ${dateTime}`, pickDateTimeOnOrBefore: (dateTime: string): string => `Pick a time on or before ${dateTime}`, // ── Calendar ───────────────────────────────────────────────────────────── day: 'Day', week: 'Week', month: 'Month', previousPeriod: 'Previous', nextPeriod: 'Next', invalidView: 'Invalid view', // ── Overlays and feedback ──────────────────────────────────────────────── closeDialog: 'Close dialog', closeNotification: 'Close notification', dismissNotification: 'Dismiss notification', dismissAlert: 'Dismiss alert', bottomSheet: 'Bottom sheet', sideSheet: 'Side sheet', closeSheet: 'Close sheet', imagePreview: 'Image preview', closePreview: 'Close preview', openMenu: 'Open menu', openSplitButtonMenu: 'Open split button menu', /** Title of the svg preview dialog, for example \"Preview: Logo\". */ previewTitle: (title: string): string => `Preview: ${title}`, svgPreview: 'SVG preview', // ── Navigation ─────────────────────────────────────────────────────────── navigation: 'Navigation', mainNavigation: 'Main navigation', breadcrumb: 'Breadcrumb', pagination: 'Pagination', page: 'Page', rowsPerPage: 'Rows per page', firstPage: 'First page', previousPage: 'Previous page', nextPage: 'Next page', lastPage: 'Last page', /** Range of rows shown, for example \"1–10 of 42\". `total` is undefined when it is unknown. */ pageRange: (start: string, end: string, total?: string): string => total === undefined ? `${start}–${end}` : `${start}–${end} of ${total}`, /** Range text when there are no rows; `zero` is 0 in the locale's digits. */ emptyPageRange: (zero: string): string => `${zero} of ${zero}`, /** Screen-reader announcement of the range, for example \"Showing 1–10 of 42\". */ showingRange: (range: string): string => `Showing ${range}`, /** Label of one page button, for example \"Page 3\". */ pageNumber: (page: string): string => `Page ${page}`, /** Label of the page number field, for example \"Page number, 24 pages\". */ pageNumberField: (pages: string): string => `Page number, ${pages} pages`, /** Text after the page number field, for example \"of 24\". */ ofPages: (pages: string): string => `of ${pages}`, // ── Table ──────────────────────────────────────────────────────────────── noItems: 'No items', noItemsDescription: 'There are no items to display', selectAllRowsOnPage: 'Select all rows on this page', selectRow: 'Select row', selection: 'Selection', selectedCount: (count: string): string => `${count} selected`, selectAllCount: (count: string): string => `Select all ${count}`, tableError: 'Something went wrong', tableErrorDescription: 'The data could not be loaded.', showHideColumns: 'Show or hide columns', /** Label of a column's resize handle, for example \"Resize Name\". */ resizeColumn: (column: string): string => `Resize ${column}`, /** Text of a secondary sort level on its header, for example \"Sort priority 2, ascending\". */ sortPriority: (priority: string, ascending: boolean): string => `Sort priority ${priority}, ${ascending ? 'ascending' : 'descending'}`, /** Announced after a column moved, for example \"Name moved to position 2 of 5\". */ columnMoved: (column: string, position: string, total: string): string => `${column} moved to position ${position} of ${total}`, /** Header of the row expander column. */ rowDetails: 'Row details', expandRow: 'Show row details', collapseRow: 'Hide row details', /** Toggle of a group header, for example \"Expand group Brown\". */ expandGroup: (group: string): string => `Expand group ${group}`, collapseGroup: (group: string): string => `Collapse group ${group}`, /** Row count of a group header; `count` is formatted, `n` the number for plural rules. */ groupRowCount: (count: string, n: number): string => n === 1 ? `${count} row` : `${count} rows`, /** Group header of rows whose `group-by` value is empty. */ emptyGroup: '(Empty)', /** Labels of the footer aggregates. */ aggregateSum: 'Sum', aggregateAvg: 'Average', aggregateMin: 'Min', aggregateMax: 'Max', aggregateCount: 'Count', // ── Charts ─────────────────────────────────────────────────────────────── chart: 'Chart', /** What screen readers call the plot (`aria-roledescription`), lower case. */ chartRole: 'chart', chartData: 'Chart data', chartInstructions: (name: string): string => `${name}. Use the arrow keys to explore the data.`, noData: 'No data', category: 'Category', name: 'Name', value: 'Value', share: 'Share', total: 'Total', // ── Code ───────────────────────────────────────────────────────────────── codeEditor: 'Code editor', copyToClipboard: 'Copy to clipboard', copied: 'Copied', wrapLines: 'Wrap lines', unwrapLines: 'Turn off line wrap', showMore: 'Show more', showLess: 'Show less', breakpoint: 'Breakpoint', pausedHere: 'Paused here', // ── Rich text editors ──────────────────────────────────────────────────── formattingToolbar: 'Formatting toolbar', inlineFormatting: 'Inline formatting', insertBlock: 'Insert block', insertBlockBelow: 'Insert block below', undo: 'Undo', redo: 'Redo', bold: 'Bold', italic: 'Italic', underline: 'Underline', strikethrough: 'Strikethrough', inlineCode: 'Inline code', /** The block style menu: paragraph text. */ paragraph: 'Text', /** Label of the block style menu button. */ textStyle: 'Text style', heading1: 'Heading 1', heading2: 'Heading 2', heading3: 'Heading 3', bulletedList: 'Bulleted list', numberedList: 'Numbered list', taskList: 'Checklist', quote: 'Quote', codeBlock: 'Code block', divider: 'Divider', table: 'Table', addRowBelow: 'Add row below', addColumnAfter: 'Add column after', deleteRow: 'Delete row', deleteColumn: 'Delete column', deleteTable: 'Delete table', link: 'Link', /** Label of the address field in the link editor. */ linkAddress: 'Link address', applyLink: 'Apply', removeLink: 'Remove link', /** Shown when the typed link address cannot be used. */ linkInvalid: 'Enter a web address, an email address or a relative path.', /** The toolbar button that starts a mention. */ mentionSomeone: 'Mention someone', /** The toolbar toggle between the formatted view and the source. */ viewSource: 'View source', enterTextPlaceholder: 'Enter text…', slashCommandsPlaceholder: \"Type '/' for commands…\", /** Announced when the slash menu has no match. */ noMatchingBlocks: 'No matching blocks', // ── Document editor ────────────────────────────────────────────────────── /** Default accessible name of a document editor. */ documentLabel: 'Document', documentPlaceholder: 'Start writing…', documentHeader: 'Header', documentFooter: 'Footer', /** Shown in an empty header or footer while it is edited. */ documentHeaderPlaceholder: 'Header text', documentFooterPlaceholder: 'Footer text', /** Tooltip of a header or footer that is not being edited. */ documentEditMarginal: 'Double-click to edit', pageBreak: 'Page break', insertImage: 'Image', textColor: 'Text color', defaultColor: 'Default', alignLeft: 'Align left', alignCenter: 'Center', alignRight: 'Align right', alignJustify: 'Justify', outline: 'Outline', /** The outline panel of a document without headings. */ outlineEmpty: 'Headings you add appear here.', print: 'Print', pageSize: 'Page size', orientation: 'Orientation', portrait: 'Portrait', landscape: 'Landscape', margins: 'Margins', marginsNormal: 'Normal margins', marginsNarrow: 'Narrow margins', marginsWide: 'Wide margins', marginsCustom: 'Custom margins', insertPageNumber: 'Page number', pageCount: 'Page count', /** The button that comments on the selected text. */ addComment: 'Comment', /** Accessible name of a document's comments column. */ documentComments: 'Comments', /** Accessible name of the people editing a document together. */ collaborators: 'People editing', /** Name shown for a collaborator without one. */ anonymousCollaborator: 'Anonymous', /** Marks the current person in the list of collaborators, for example \"Ana Lima (you)\". */ collaboratorYou: (name: string): string => `${name} (you)`, /** The word count in a document's status bar, for example \"1,284 words\". */ wordCount: (count: number, formatted: string): string => `${formatted} ${count === 1 ? 'word' : 'words'}`, /** The page indicator in a document's status bar, for example \"Page 2 of 5\". */ documentPageOf: (page: string, total: string): string => `Page ${page} of ${total}`, /** Accessible name of a document's zoom menu. */ documentZoom: 'Zoom', /** The zoom that fits the page to the editor's width. */ documentZoomFit: 'Fit width', /** Validation message when rich text is longer than `maxlength` characters. */ richTextTooLong: (max: number): string => `Use ${max} characters or fewer`, // ── Condition builder ──────────────────────────────────────────────────── addCondition: 'Add condition', addRule: 'Add rule', addInnerGroup: 'Add inner group', removeCondition: 'Remove condition', reorderCondition: 'Reorder condition', operatorAnd: 'And', operatorOr: 'Or', /** Label of the and/or toggle, for example \"Match conditions with And\". */ matchConditionsWith: (operator: string): string => `Match conditions with ${operator}`, /** Description of a rule's handle: the keys that move the rule. */ reorderConditionHint: 'Arrow Up and Arrow Down move the condition. Arrow Right moves it into the group beside it, Arrow Left out of its group.', /** Announced after a rule moved with the keyboard, for example \"Moved to position 2 of 3\". */ conditionMoved: (position: number, total: number): string => `Moved to position ${position} of ${total}`, /** Announced after a rule moved into a group with the keyboard. */ conditionMovedIntoGroup: (position: number, total: number): string => `Moved into group, position ${position} of ${total}`, /** Announced after a rule moved out of its group with the keyboard. */ conditionMovedOutOfGroup: (position: number, total: number): string => `Moved out of group, position ${position} of ${total}`, // ── Date range field ───────────────────────────────────────────────────── chooseDateRange: 'Choose date range', /** Accessible name of the list of preset ranges beside the calendar. */ dateRangePresets: 'Preset ranges', // ── Character counter ──────────────────────────────────────────────────── /** Text of a field's character counter, for example \"12/100\". */ characterCount: (count: number, max: number): string => `${count}/${max}`, // ── Filter bar ─────────────────────────────────────────────────────────── /** Accessible name of a filter bar without a `label`. */ filters: 'Filters', addFilter: 'Add filter', clearFilters: 'Clear all', saveView: 'Save view', /** The views menu entry that shows every item, with no filter. */ allItems: 'All', /** Accessible name of the saved views menu button. */ views: 'Views', yes: 'Yes', no: 'No', /** Text of an active filter chip, for example \"Status: Open\". */ filterValue: (label: string, value: string): string => `${label}: ${value}`, /** Count of values a filter chip does not show, for example \"+2\". */ moreValues: (count: number): string => `+${count}`, /** Announced after a filter is removed, for example \"Status filter removed\". */ filterRemoved: (label: string): string => `${label} filter removed`, /** Announced after \"Clear all\". */ filtersCleared: 'All filters cleared', // ── Pin input ──────────────────────────────────────────────────────────── /** Accessible name of a numeric pin input's cell, for example \"Digit 2 of 6\". */ pinInputDigit: (position: number, total: number): string => `Digit ${position} of ${total}`, /** Accessible name of an alphanumeric pin input's cell, for example \"Character 2 of 6\". */ pinInputCharacter: (position: number, total: number): string => `Character ${position} of ${total}`, /** Message of a pin input whose code is only partly entered, for example \"Enter all 6 characters.\". */ pinInputIncomplete: (total: number): string => `Enter all ${total} characters.`, // ── File upload ────────────────────────────────────────────────────────── /** Drop zone text before the browse link, with `multiple`. */ dropFilesHere: 'Drag files here or', /** Drop zone text before the browse link, without `multiple`. */ dropFileHere: 'Drag a file here or', /** Browse link in the drop zone, with `multiple`. */ chooseFiles: 'choose files', /** Browse link in the drop zone, without `multiple`. */ chooseFile: 'choose a file', /** Accessible name of the list of chosen files. */ chosenFiles: 'Chosen files', /** Remove button of a listed file, for example \"Remove report.pdf\". */ removeFile: (name: string): string => `Remove ${name}`, /** Status of a file the app marked as done. */ fileUploaded: 'Uploaded', /** Accessible name of a file's progress bar, for example \"Uploading report.pdf\". */ uploadingFile: (name: string): string => `Uploading ${name}`, /** A file not added because `accept` does not allow it. */ fileTypeRejected: (name: string): string => `${name} is not an accepted file type`, /** A file not added because it is over `max-size`, for example \"a.png is larger than 5 MB\". */ fileSizeRejected: (name: string, maxSize: string): string => `${name} is larger than ${maxSize}`, /** A file not added because the list is full. */ fileCountRejected: (name: string, maxFiles: number): string => `${name} was not added: no more than ${maxFiles} ${maxFiles === 1 ? 'file' : 'files'}`, /** Announced after files are added. */ filesAdded: (count: number): string => count === 1 ? '1 file added' : `${count} files added`, /** Announced after a file is removed. */ fileRemoved: (name: string): string => `${name} removed`, /** Validation message of a required file upload with no file. */ valueMissingFile: 'Please select a file.', // ── Stepper ────────────────────────────────────────────────────────────── /** Accessible name of a stepper that has no `label`. */ stepperLabel: 'Progress', /** Position of a step, read before its label, for example \"Step 2 of 4\". */ stepPosition: (step: string, total: string): string => `Step ${step} of ${total}`, stepCompleted: 'Completed', stepNotStarted: 'Not started', stepError: 'Error', stepOptional: 'Optional', // ── Tree ───────────────────────────────────────────────────────────────── /** Shown under a tree item while its children load. */ treeLoading: 'Loading…', // ── Checkbox group and fieldset ────────────────────────────────────────── /** Validation message of a required checkbox group with nothing checked. */ valueMissingCheckboxGroup: 'Please select at least one of these options.', /** Label of the checkbox group's select-all checkbox. */ checkboxGroupSelectAll: 'Select all', // ── Form ───────────────────────────────────────────────────────────────── /** Headline of a form's error summary; `count` is formatted, `n` the number for plural rules. */ formErrorSummary: (count: string, n: number): string => n === 1 ? `There is ${count} problem with this form` : `There are ${count} problems with this form`, /** One entry of a form's error summary, a link to the field. */ formErrorItem: (label: string, message: string): string => `${label}: ${message}`, // ── Phone and currency fields ──────────────────────────────────────────── /** Accessible name of the phone field's country selector. */ phoneCountry: 'Country', phoneInvalid: 'Enter a valid phone number', /** Accessible name of the currency field's currency selector. */ currencyPicker: 'Currency', currencyInvalid: 'Enter a valid amount', /** An amount with more decimals than its currency has; 0 means whole amounts only. */ currencyTooManyDecimals: (digits: number): string => digits === 0 ? 'Enter a whole amount' : `Enter an amount with at most ${digits} decimal place${digits === 1 ? '' : 's'}`, /** Below `min`, which arrives formatted with its currency, for example \"€10.00\". */ currencyTooLow: (min: string): string => `Enter ${min} or more`, /** Above `max`, which arrives formatted with its currency. */ currencyTooHigh: (max: string): string => `Enter ${max} or less`, // ── Description list, stat, sparkline ──────────────────────────────────── /** Read in place of the dash shown for an empty description item or stat value. */ notSet: 'Not set', /** Accessible name of a sparkline without values. */ sparklineNoData: 'No data', /** Summary of a sparkline with one value, for example \"Value 12\". */ sparklineValue: (value: string): string => `Value ${value}`, /** Summary of a sparkline, for example \"Trend from 12 to 18, high 21, low 9\". */ sparklineSummary: ( first: string, last: string, high: string, low: string, ): string => `Trend from ${first} to ${last}, high ${high}, low ${low}`, /** What a stat's change is measured against when it has no `comparison`. */ statComparison: 'from last period', /** A stat's rise, for example \"up 8% from last period\". */ statUp: (change: string, comparison: string): string => `up ${change} ${comparison}`, /** A stat's fall, for example \"down 3% from last period\". */ statDown: (change: string, comparison: string): string => `down ${change} ${comparison}`, /** A stat without change, for example \"unchanged from last period\". */ statUnchanged: (comparison: string): string => `unchanged ${comparison}`, /** Accessible name of a stat's info button, whose tooltip explains the metric. */ statHelp: 'About this metric', // ── Transfer list and status indicator ─────────────────────────────────── /** Default headline of a transfer list's source list. */ transferListAvailable: 'Available', /** Default headline of a transfer list's list of chosen items. */ transferListSelected: 'Selected', /** A transfer list's headline with its item count (formatted), for example \"Selected (3)\". */ transferListHeadline: (headline: string, count: string): string => `${headline} (${count})`, /** Button that moves the checked items, for example \"Move checked items to Selected\". */ transferListMoveChecked: (target: string): string => `Move checked items to ${target}`, /** Button that moves every shown item, for example \"Move all items to Selected\". */ transferListMoveAll: (target: string): string => `Move all items to ${target}`, /** Button that moves the checked selected items one place up. */ transferListMoveUp: 'Move up', /** Button that moves the checked selected items one place down. */ transferListMoveDown: 'Move down', /** Accessible name of a list's search box, for example \"Search Available\". */ transferListSearch: (headline: string): string => `Search ${headline}`, /** Shown in a list with no items. */ transferListEmpty: 'No items', /** Shown in a list whose items all miss the search. */ transferListNoMatches: 'No matching items', /** Announced after a move; `formatted` is `count` formatted, for example \"2 items moved to Selected\". */ transferListMoved: ( count: number, formatted: string, target: string, ): string => count === 1 ? `1 item moved to ${target}` : `${formatted} items moved to ${target}`, /** Announced after reordering one item, for example \"Editor, position 2 of 5\". */ transferListPosition: ( label: string, position: string, total: string, ): string => `${label}, position ${position} of ${total}`, /** Accessible name of a dot-only status indicator without `label` or `intent`. */ statusIndicatorNeutral: 'Status', // ── App shell, page header, resizable panels ───────────────────────────── /** The app shell's skip link, the first thing a keyboard user reaches. */ skipToMainContent: 'Skip to main content', /** The app shell's menu button that opens the navigation drawer on narrow screens. */ openNavigation: 'Open navigation', /** Accessible name of the page header's back link when it has no `back-label`. */ back: 'Back', /** Accessible name of a divider between two resizable panels without labels. */ resizePanels: 'Resize panels', /** Accessible name of a divider before a labelled panel, for example \"Resize Inbox\". */ resizePanel: (panel: string): string => `Resize ${panel}`, // ── Stack, grid, avatar group, copy button ─────────────────────────────── /** Default accessible name of a `wc-avatar-group`. */ avatarGroupLabel: 'Members', /** Accessible name of the avatar group's overflow button; `count` is already formatted. */ avatarGroupMore: (count: string): string => `${count} more`, /** Default accessible name and tooltip of a `wc-copy-button`. */ copy: 'Copy', /** Tooltip and announcement of a `wc-copy-button` whose copy failed. */ copyFailed: 'Copy failed', // ── Command palette, workspace switcher, user menu ─────────────────────── /** Default accessible name of a command palette. */ commandPalette: 'Command palette', /** Placeholder of a command palette's search field. */ commandPalettePlaceholder: 'Type a command or search', /** Heading of the recent commands, shown while the query is empty. */ commandPaletteRecent: 'Recent', /** Shown when no command matches, for example `No results for \"deploy\"`. */ commandPaletteNoResults: (query: string): string => `No results for \"${query}\"`, /** Shown when a command palette has no commands. */ commandPaletteEmpty: 'No commands', /** Announced as results change; `formatted` is `count` formatted, for example \"5 results\". */ commandPaletteResults: (count: number, formatted: string): string => count === 1 ? '1 result' : `${formatted} results`, /** Accessible name of a workspace switcher's trigger, for example \"Acme, switch workspace\". */ workspaceSwitcherTrigger: (name: string): string => name ? `${name}, switch workspace` : 'Switch workspace', /** Accessible name of a workspace switcher's menu. */ workspaceSwitcherMenu: 'Workspaces', /** Label of a workspace switcher's search field. */ workspaceSwitcherSearch: 'Search workspaces', /** Shown when no workspace matches the search, for example `No workspaces match \"acm\"`. */ workspaceSwitcherNoResults: (query: string): string => `No workspaces match \"${query}\"`, /** A workspace switcher's create action (`creatable`). */ workspaceSwitcherCreate: 'Create workspace', /** Accessible name of a user menu's avatar button, for example \"Account menu for Ada Lovelace\". */ userMenuTrigger: (name: string): string => name ? `Account menu for ${name}` : 'Account menu', /** Heading of a user menu's theme section. */ userMenuTheme: 'Theme', userMenuThemeLight: 'Light', userMenuThemeDark: 'Dark', /** The theme that follows the operating system's light or dark setting. */ userMenuThemeSystem: 'System', // ── Banner, notification center, tour ──────────────────────────────────── /** Accessible name of a banner's close button. */ dismissBanner: 'Dismiss banner', /** Default name of a notification center's bell and panel. */ notificationCenterLabel: 'Notifications', /** The bell's accessible name with the unread count (formatted), for example \"Notifications, 3 unread\". */ notificationCenterBell: ( label: string, count: number, formatted: string, ): string => (count === 0 ? label : `${label}, ${formatted} unread`), /** Announced when notifications arrive while the panel is closed, for example \"2 new notifications\". */ notificationCenterNew: (count: number, formatted: string): string => count === 1 ? '1 new notification' : `${formatted} new notifications`, /** Name of the All / Unread filter buttons. */ notificationCenterFilter: 'Show', notificationCenterAll: 'All', /** The Unread filter, and read before an unread notification's title. */ notificationCenterUnread: 'Unread', notificationCenterMarkAllRead: 'Mark all as read', notificationCenterMarkRead: 'Mark as read', notificationCenterMarkUnread: 'Mark as unread', notificationCenterYesterday: 'Yesterday', notificationCenterEmpty: 'No notifications', notificationCenterEmptyUnread: 'No unread notifications', notificationCenterLoadMore: 'Load more', /** A tour's Back button. */ tourBack: 'Back', /** A tour's Next button. */ tourNext: 'Next', /** A tour's button on the last step. */ tourDone: 'Done', /** Accessible name of a tour's close button. */ tourSkip: 'Skip tour', // ── Inline edit, comment thread ────────────────────────────────────────── /** Accessible name of an inline edit's pencil button, for example \"Edit Title\". */ inlineEditEdit: (label: string): string => (label ? `Edit ${label}` : 'Edit'), /** An inline edit's save button (with `show-actions`). */ inlineEditSave: 'Save', /** An inline edit's cancel button (with `show-actions`). */ inlineEditCancel: 'Cancel', /** Spoken while an inline edit waits for the app to save. */ inlineEditSaving: 'Saving', /** Default accessible name of a comment thread. */ commentThreadLabel: 'Comments', /** A comment thread without comments. */ commentThreadEmpty: 'No comments yet', /** Label and placeholder of a comment thread's composer. */ commentComposerLabel: 'Add a comment', /** The composer's send button. */ commentSend: 'Send', /** The button that opens a reply composer under a comment. */ commentReply: 'Reply', /** Label and placeholder of a reply composer, for example \"Reply to Ada Lovelace\". */ commentReplyTo: (author: string): string => `Reply to ${author}`, /** A reply composer's cancel button. */ commentCancel: 'Cancel', /** Comment actions menu items. */ commentEdit: 'Edit', commentDelete: 'Delete', commentCopyLink: 'Copy link', /** Accessible name of a comment's actions button, for example \"More actions for comment by Ada\". */ commentActions: (author: string): string => `More actions for comment by ${author}`, /** Marker after the time of an edited comment. */ commentEdited: 'Edited', /** Accessible name of a comment, for example \"Comment by Ada Lovelace, 2 hours ago\". */ commentLabel: (author: string, time: string): string => time ? `Comment by ${author}, ${time}` : `Comment by ${author}`, /** Accessible name of a reply, for example \"Reply by Ada Lovelace, 2 hours ago\". */ commentReplyLabel: (author: string, time: string): string => time ? `Reply by ${author}, ${time}` : `Reply by ${author}`, /** Accessible name of a comment's replies, for example \"Replies to Ada Lovelace\". */ commentReplies: (author: string): string => `Replies to ${author}`, /** Announced politely when a comment is added, for example \"New comment by Ada Lovelace\". */ commentAdded: (author: string): string => `New comment by ${author}`, /** Author shown for a comment without one. */ commentUnknownAuthor: 'Unknown author', /** The save button of a comment being edited. */ commentSave: 'Save', /** Accessible name of an activity entry, for example \"Activity by Ada Lovelace, 2 hours ago\". */ activityLabel: (author: string, time: string): string => time ? `Activity by ${author}, ${time}` : `Activity by ${author}`, // ── Password rules, rating, signature pad ──────────────────────────────── /** Accessible name of a password rules checklist. */ passwordRulesLabel: 'Password requirements', /** Built-in `min-length` rule, for example \"At least 12 characters\". */ passwordRuleMinLength: (count: number): string => count === 1 ? 'At least 1 character' : `At least ${count} characters`, /** Built-in `require-uppercase` rule. */ passwordRuleUppercase: 'One uppercase letter', /** Built-in `require-lowercase` rule. */ passwordRuleLowercase: 'One lowercase letter', /** Built-in `require-number` rule. */ passwordRuleNumber: 'One number', /** Built-in `require-symbol` rule. */ passwordRuleSymbol: 'One symbol', /** Status of a met password rule, read after its label. */ passwordRuleMet: 'met', /** Status of an unmet password rule, read after its label. */ passwordRuleNotMet: 'not met', /** Announced when a rule flips, for example \"One number: met\". */ passwordRuleAnnouncement: (label: string, status: string): string => `${label}: ${status}`, /** Announced when the last failing rule is met. */ passwordRulesAllMet: 'All password requirements met', /** Validation message set on the connected password field while rules fail. */ passwordRulesInvalid: 'Password does not meet the requirements.', /** Default accessible name of a rating. */ ratingLabel: 'Rating', /** Value text of a rating, for example \"3 out of 5\". */ ratingValueText: (value: string, max: string): string => `${value} out of ${max}`, /** Value text of a rating with no value. */ ratingNoValue: 'No rating', /** Accessible name of a read-only rating, for example \"Rated 4.3 out of 5\". */ ratingReadonly: (value: string, max: string): string => `Rated ${value} out of ${max}`, /** Validation message of a required rating with no value. */ valueMissingRating: 'Please choose a rating.', /** Default accessible name of a signature pad. */ signaturePadLabel: 'Signature', /** Hint shown on an empty signature pad. */ signaturePadPlaceholder: 'Sign here', /** Status of an empty signature pad, read after its label. */ signaturePadEmpty: 'empty', /** Status of a signed signature pad, read after its label. */ signaturePadSigned: 'signed', /** Accessible name of a signature pad's drawing, for example \"Signature, empty\". */ signaturePadImage: (label: string, status: string): string => `${label}, ${status}`, /** Undo button of a signature pad. */ signaturePadUndo: 'Undo last stroke', /** Clear button of a signature pad. */ signaturePadClear: 'Clear signature', /** Button that switches a signature pad to typing the name. */ signaturePadTypeInstead: 'Type your name instead', /** Button that switches a signature pad back to drawing. */ signaturePadDrawInstead: 'Draw instead', /** Label of the name field of a signature pad in typing mode. */ signaturePadTypedName: 'Your name', /** Validation message of a required signature pad with no signature. */ valueMissingSignature: 'Please sign.', // ── Mention input, kbd, hover card ─────────────────────────────────────── /** Accessible name of a mention input's suggestion list. */ mentionSuggestions: 'Suggestions', /** Announced as a mention input's suggestions change; `formatted` is `count` formatted. */ mentionResults: (count: number, formatted: string): string => count === 1 ? '1 suggestion' : `${formatted} suggestions`, /** Spoken names of keys in `wc-kbd`, read instead of the symbols. */ kbdCommand: 'Command', kbdControl: 'Control', kbdOption: 'Option', kbdAlt: 'Alt', kbdShift: 'Shift', kbdWindows: 'Windows', kbdEnter: 'Enter', kbdReturn: 'Return', kbdEscape: 'Escape', kbdTab: 'Tab', kbdBackspace: 'Backspace', kbdDelete: 'Delete', kbdSpace: 'Space', kbdArrowUp: 'Up arrow', kbdArrowDown: 'Down arrow', kbdArrowLeft: 'Left arrow', kbdArrowRight: 'Right arrow', kbdPageUp: 'Page up', kbdPageDown: 'Page down', kbdHome: 'Home', kbdEnd: 'End', kbdCapsLock: 'Caps Lock', /** Short labels `wc-kbd` shows off Apple platforms. */ kbdCtrlShort: 'Ctrl', kbdWinShort: 'Win', kbdEscShort: 'Esc', kbdDelShort: 'Del', kbdPageUpShort: 'PgUp', kbdPageDownShort: 'PgDn', // ── Kanban, virtual list ───────────────────────────────────────────────── /** Default accessible name of a kanban board. */ kanbanLabel: 'Board', /** Read with each kanban card, from `aria-describedby`. */ kanbanInstructions: 'Press Space or Enter to pick up the card. Use the arrow keys to move it, Space or Enter to drop it, and Escape to cancel.', /** Accessible name of a column's card count, for example \"3 cards\" or \"6 of 5 cards\". */ kanbanCount: (count: number, formatted: string, limit?: string): string => { if (limit) return `${formatted} of ${limit} cards`; return count === 1 ? '1 card' : `${formatted} cards`; }, /** Shown in a column header with more cards than its limit. */ kanbanOverLimit: 'Over limit', /** A column without cards. */ kanbanEmpty: 'No cards', /** A column's add button. */ kanbanAddCard: 'Add card', /** Accessible name of a column's add button, for example \"Add card to To do\". */ kanbanAddCardTo: (column: string): string => `Add card to ${column}`, /** Announced when a card is picked up, for example \"Picked up card Fix login. Column To do, position 2 of 5.\" */ kanbanPickedUp: ( card: string, column: string, position: string, total: string, ): string => `Picked up card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced at each keyboard move of a lifted card. */ kanbanMoved: ( card: string, column: string, position: string, total: string, ): string => `Card ${card}: column ${column}, position ${position} of ${total}.`, /** Announced when a card is dropped. */ kanbanDropped: ( card: string, column: string, position: string, total: string, ): string => `Dropped card ${card}. Column ${column}, position ${position} of ${total}.`, /** Announced when a move is canceled, by Escape or by the app. */ kanbanCanceled: ( card: string, column: string, position: string, total: string, ): string => `Move canceled. Card ${card} is back in column ${column}, position ${position} of ${total}.`, // ── JSON viewer, diff viewer ───────────────────────────────────────────── /** Default accessible name of a JSON viewer's tree. */ jsonViewer: 'JSON', /** Size of a collapsed object, for example \"3 keys\"; `formatted` is `count` formatted. */ jsonViewerKeys: (count: number, formatted: string): string => count === 1 ? '1 key' : `${formatted} keys`, /** Size of a collapsed array, for example \"12 items\"; `formatted` is `count` formatted. */ jsonViewerItems: (count: number, formatted: string): string => count === 1 ? '1 item' : `${formatted} items`, /** Row that renders the next children of a large node, for example \"Show 100 more of 12,245\". */ jsonViewerShowMore: (next: string, hidden: string): string => `Show ${next} more of ${hidden}`, /** After a truncated string, for example \"1,234 more characters\". */ jsonViewerMoreCharacters: (count: number, formatted: string): string => count === 1 ? '1 more character' : `${formatted} more characters`, jsonViewerCopyValue: 'Copy value', jsonViewerCopyPath: 'Copy path', /** Announced after a JSON value or path is copied. */ jsonViewerCopiedValue: 'Copied value to clipboard', jsonViewerCopiedPath: 'Copied path to clipboard', /** Shown instead of a value that contains itself. */ jsonViewerCircular: 'Circular reference', /** Shown when the `value` attribute is not valid JSON, with the parser's message. */ jsonViewerInvalid: (message: string): string => `Invalid JSON: ${message}`, /** Default accessible name of a diff viewer's table. */ diffViewer: 'Changes', /** Summary above a diff, for example \"3 additions, 2 deletions\"; the strings are the counts formatted. */ diffSummary: ( additions: number, deletions: number, formattedAdditions: string, formattedDeletions: string, ): string => `${additions === 1 ? '1 addition' : `${formattedAdditions} additions`}, ${ deletions === 1 ? '1 deletion' : `${formattedDeletions} deletions` }`, /** Summary above a diff of two identical texts. */ diffNoChanges: 'No changes', /** Screen-reader text before an added line, for example \"Added line 13\"; `line` is formatted. */ diffAddedLine: (line: string): string => `Added line ${line}`, /** Screen-reader text before a removed line, for example \"Removed line 12\"; `line` is formatted. */ diffRemovedLine: (line: string): string => `Removed line ${line}`, /** Button that shows hidden unchanged lines, for example \"Show 24 unchanged lines\". */ diffShowUnchanged: (count: number, formatted: string): string => count === 1 ? 'Show 1 unchanged line' : `Show ${formatted} unchanged lines`, /** Shown on the last line of a side that does not end with a line break, when the other does. */ diffNoNewline: 'No newline at end of file', /** Note shown when the texts are too different or too large to compare line by line. */ diffApproximate: 'These texts are too different to compare line by line, so the changed part is shown as removed and then added.', /** Note shown when only the line endings tell the sides apart, for example \"CRLF\" and \"LF\". */ diffLineEndings: (oldEnding: string, newEnding: string): string => `Line endings differ: ${oldEnding} in the old text, ${newEnding} in the new text.`, /** Column headers of a split diff. */ diffOld: 'Old', diffNew: 'New', // ── Anchor nav, scroll area, presence indicator, relative time ─────────── /** Default accessible name of an anchor nav's `nav` landmark. */ anchorNavLabel: 'On this page', /** Presence status of a person, read after their name. */ presenceOnline: 'Online', presenceAway: 'Away', presenceBusy: 'Busy', presenceOffline: 'Offline', /** Accessible name of an avatar with a presence indicator, for example \"Ana Lima, online\". */ presenceLabel: (name: string, status: string): string => name ? `${name}, ${status.toLowerCase()}` : status, // ── Confirm dialog ─────────────────────────────────────────────────────── /** Default label of a confirm dialog's confirm button. */ confirm: 'Confirm', /** Default label of a confirm dialog's cancel button. */ cancel: 'Cancel', /** Label of a confirm dialog's type-to-confirm field, for example \"Type acme-prod to confirm\". */ typeToConfirm: (text: string): string => `Type ${text} to confirm`, // ── Diagrams (flow, workflow, tree chart, ERD, dependency map) ────────── /** Default accessible name of a diagram canvas. */ diagramLabel: 'Diagram', /** Read with a diagram canvas, from `aria-describedby`. */ diagramInstructions: 'Drag the canvas or use the arrow keys to pan. Hold Ctrl or Command and scroll to zoom. Shift+1 fits all content, Home goes back to the start.', diagramZoomIn: 'Zoom in', diagramZoomOut: 'Zoom out', diagramFit: 'Fit to content', diagramZoomToSelection: 'Zoom to selection', diagramBackToStart: 'Back to start', diagramBackToContent: 'Back to content', /** Accessible name of the zoom level button, for example \"Zoom level, 80%\". */ diagramZoomLevel: (percent: string): string => `Zoom level, ${percent}`, diagramUndo: 'Undo', diagramRedo: 'Redo', diagramControls: 'Diagram controls', diagramMinimap: 'Minimap', /** Role description of a diagram node, read by screen readers instead of \"group\". */ diagramNode: 'node', /** Accessible name of a connection, for example \"Connection from Start to Review: approve\". */ diagramEdgeLabel: (from: string, to: string, label?: string): string => `Connection from ${from} to ${to}${label ? `: ${label}` : ''}`, /** Announced after a node moves, for example \"Review moved to 120, 40\". */ diagramMoved: (label: string, x: string, y: string): string => `${label} moved to ${x}, ${y}`, /** Announced after a connection is made. */ diagramConnected: (from: string, to: string): string => `Connected ${from} to ${to}`, /** Announced after nodes and connections are deleted. */ diagramDeleted: (count: number): string => count === 1 ? '1 item deleted' : `${count} items deleted`, /** Announced after pasting, for example \"3 items pasted\". */ diagramPasted: (count: number): string => count === 1 ? '1 item pasted' : `${count} items pasted`, // ── Workflow ───────────────────────────────────────────────────────────── workflowLabel: 'Workflow', workflowAddStep: 'Add step', workflowAddTrigger: 'Add a trigger', workflowSearchSteps: 'Search steps', workflowNoSteps: 'No matching steps', workflowOnError: 'On error', workflowWaitForAll: 'Wait for all', workflowEnd: 'End', workflowMoreActions: 'More actions', workflowDuplicate: 'Duplicate', workflowDelete: 'Delete', workflowCollapse: 'Collapse', workflowExpand: 'Expand', workflowOutputs: 'Outputs', workflowTools: 'Tools', workflowUntil: 'Until', /** Summary of a collapsed branch or loop, for example \"3 paths, 7 steps\". */ workflowCollapsedSummary: (paths: number, steps: number): string => `${paths === 1 ? '1 path' : `${paths} paths`}, ${steps === 1 ? '1 step' : `${steps} steps`}`, /** Label of the problems button, for example \"2 problems\". */ workflowProblems: (count: number): string => count === 1 ? '1 problem' : `${count} problems`, workflowUnreachable: 'This step never runs: the path before it ends.', workflowLoopForEach: 'For each', workflowLoopWhile: 'While', workflowLoopUntil: 'Repeat until', /** Announced after a step is added, for example \"Send email added\". */ workflowStepAdded: (name: string): string => `${name} added`, workflowStepRemoved: (name: string): string => `${name} removed`, workflowStepMoved: (name: string): string => `${name} moved`, /** Accessible name of an add-step button, for example \"Add step after Look up manager\". */ workflowAddStepAfter: (name: string): string => `Add step after ${name}`, workflowAddStepIn: (name: string): string => `Add step in ${name}`, // ── Tree chart ─────────────────────────────────────────────────────────── treeChartLabel: 'Tree chart', treeChartLoading: 'Loading', treeChartAddChild: 'Add below', treeChartAddSibling: 'Add beside', treeChartNewItem: 'New item', /** Accessible name of the count chip, for example \"Expand Elena Rostova, 4 below\". */ treeChartExpand: (name: string, count: number): string => count ? `Expand ${name}, ${count} below` : `Expand ${name}`, treeChartCollapse: (name: string): string => `Collapse ${name}`, /** Announced after a drag, for example \"Ana Ruiz moved under Elena Rostova\". */ treeChartMoved: (name: string, parent: string): string => parent ? `${name} moved under ${parent}` : `${name} moved to the top`, treeChartRemoved: (name: string): string => `${name} removed`, /** Announced after a search, for example \"3 matches\". */ treeChartMatches: (count: number): string => count === 1 ? '1 match' : `${count} matches`, // ── Dependency map ─────────────────────────────────────────────────────── dependencyMapLabel: 'Dependency map', dependencyMapLegend: 'Legend', dependencyMapHealthy: 'Healthy', dependencyMapDegraded: 'Degraded', dependencyMapDown: 'Down', dependencyMapUnknown: 'Unknown', dependencyMapImpact: 'Impact path', dependencyMapTraffic: 'Width = traffic', dependencyMapShowType: (type: string): string => `Show ${type}`, /** A collapsed group's subtitle, for example \"8 items\". */ dependencyMapGroupCount: (count: number): string => count === 1 ? '1 item' : `${count} items`, /** Label of an aggregated edge between collapsed groups, for example \"12 connections\". */ dependencyMapEdgeCount: (count: number): string => count === 1 ? '1 connection' : `${count} connections`, dependencyMapExpandGroup: (name: string): string => `Expand ${name}`, dependencyMapCollapseGroup: (name: string): string => `Collapse ${name}`, /** Accessible name of a node, for example \"payments-db, PostgreSQL, degraded, 3 upstream, 0 downstream\". */ dependencyMapNode: ( name: string, type: string, status: string, upstream: number, downstream: number, ): string => `${name}${type ? `, ${type}` : ''}${status ? `, ${status}` : ''}, ${upstream} upstream, ${downstream} downstream`, dependencyMapRps: (value: string): string => `${value} req/s`, dependencyMapLatency: (value: string): string => `p95 ${value}`, dependencyMapErrors: (value: string): string => `${value} errors`, // ── Entity-relationship diagram ────────────────────────────────────────── erdLabel: 'Entity-relationship diagram', erdPrimaryKey: 'Primary key', erdForeignKey: 'Foreign key', erdNullable: 'Nullable', erdAddColumn: 'Add column', erdRemoveColumn: (name: string): string => `Remove ${name}`, erdTogglePrimaryKey: (name: string): string => `Toggle primary key on ${name}`, erdCollapse: (name: string): string => `Collapse ${name}`, erdExpand: (name: string): string => `Expand ${name}`, erdRename: 'Rename', erdNewColumn: 'new_column', erdNewEntity: 'new_table', erdCardinality: 'Relationship', erdManyToOne: 'Many to one', erdZeroOrManyToOne: 'Zero or many to one', erdOneToOne: 'One to one', erdZeroOrOneToOne: 'Zero or one to one', erdManyToMany: 'Many to many', /** Summary of a column count, for example \"8 columns\". */ erdColumnCount: (count: number): string => count === 1 ? '1 column' : `${count} columns`, /** Accessible name of an entity, for example \"orders, 8 columns, references customers, referenced by order_items\". */ erdEntity: ( name: string, columns: number, references: string[], referencedBy: string[], ): string => [ name, columns === 1 ? '1 column' : `${columns} columns`, references.length ? `references ${references.join(', ')}` : '', referencedBy.length ? `referenced by ${referencedBy.join(', ')}` : '', ] .filter(Boolean) .join(', '), /** Announced after a relation is added, for example \"orders.customer_id references customers.id\". */ erdConnected: (from: string, to: string): string => `${from} references ${to}`, // ── Workflow debugging ─────────────────────────────────────────────────── workflowDebugBar: 'Debugging', workflowContinue: 'Continue', workflowPause: 'Pause', workflowStepOver: 'Step over', workflowStepInto: 'Step into', workflowRestart: 'Restart', workflowStop: 'Stop', workflowRetryFromHere: 'Retry from here', workflowBreakpoint: 'Breakpoint', workflowToggleBreakpoint: 'Toggle breakpoint', workflowPinData: 'Pin data', workflowUnpinData: 'Unpin data', workflowPinned: 'Data pinned', workflowPreviousIteration: 'Previous iteration', workflowNextIteration: 'Next iteration', /** Iteration picker label, for example \"Iteration 3 of 12\". */ workflowIteration: (index: number, total: number): string => `Iteration ${index} of ${total}`, /** Short iteration label, for example \"3 / 12\". */ workflowIterationShort: (index: number, total: number): string => `${index} / ${total}`, workflowRunTimeline: 'Run timeline', /** Status of a step or run, shown on cards and read by screen readers. */ workflowStatusQueued: 'Queued', workflowStatusRunning: 'Running', workflowStatusWaiting: 'Waiting', workflowStatusPaused: 'Paused', workflowStatusSuccess: 'Succeeded', workflowStatusFailed: 'Failed', workflowStatusSkipped: 'Skipped', workflowStatusCanceled: 'Canceled', /** Summary of a run, for example \"Run 184, Failed, 2 h 15 min\". */ workflowRunSummary: (id: string, status: string, duration: string): string => duration ? `Run ${id} · ${status} · ${duration}` : `Run ${id} · ${status}`, /** Announced when the run moves, for example \"Send email succeeded\". */ workflowStepStatus: (name: string, status: string): string => `${name}: ${status.toLowerCase()}`, // ── AI (ADR-030002) ────────────────────────────────────────────────────── /** Label of an AI badge on a value the person hasn't accepted yet. */ aiSuggested: 'Suggested', /** Label of an AI badge on a record or text waiting to be confirmed. */ aiDraft: 'Draft', /** Label of an AI badge on read-only output, such as a summary. */ aiGenerated: 'By the assistant', /** Accessible name of the clear button on a \"Suggested\" badge. */ aiClearSuggestion: 'Clear suggestion', /** Accessible name of the clear button on a \"Draft\" badge. */ aiDiscardDraft: 'Discard draft', /** Accessible name of the clear button on a generated-output badge. */ aiHideGenerated: 'Hide', /** Read after a suggested field's label, for example \"Suggested by the assistant. Assigned to you.\" */ aiSuggestedDescription: (reason: string): string => reason ? `Suggested by the assistant. ${reason}` : 'Suggested by the assistant.', /** Headline of a form's draft banner. */ aiDraftBannerHeadline: 'Drafted by the assistant.', /** Text of a form's draft banner. */ aiDraftBannerText: 'Check the marked fields before you submit.', /** The draft banner's button that clears every suggestion in the form. */ aiClearAll: 'Clear all', /** Heading above the suggested option in a select's list. */ aiSuggestedOption: 'Suggested', /** Read with a field while ghost text shows, for example \"Suggestion: returned on Thursday. Press Tab to accept.\" */ aiGhostHint: (text: string): string => `Suggestion: ${text}. Press Tab to accept, Escape to dismiss.`, /** Heading of the AI actions in a slash menu. */ aiAssistantGroup: 'Assistant', /** Heading of the blocks in a slash menu that also lists AI actions. */ slashBlocksGroup: 'Blocks', /** The button that opens the AI actions for the selected text. */ aiAskAi: 'Ask AI', /** Accessible name of the AI actions menu. */ aiActions: 'AI actions', aiImprove: 'Improve writing', aiShorten: 'Make shorter', aiFix: 'Fix spelling and grammar', aiTranslate: 'Translate…', aiCustom: 'Tell it what to change…', aiContinue: 'Continue writing', aiSummarizeAbove: 'Summarize above', /** Label of the instruction field for \"Tell it what to change\". */ aiInstruction: 'What should change?', /** Label of the language field for \"Translate\". */ aiTargetLanguage: 'Translate to', /** Button that sends the instruction or language. */ aiGo: 'Go', aiAccept: 'Accept', aiDiscard: 'Discard', aiTryAgain: 'Try again', aiStop: 'Stop', /** Shown while the assistant writes. */ aiWriting: 'Writing…', /** Toggle between the suggested text and its changes. */ aiResult: 'Result', aiChanges: 'Changes', /** Accessible name of the panel with the assistant's suggested text. */ aiPreview: 'Suggested text', /** Shown when a rewrite fails. */ aiFailed: \"The assistant couldn't write this. Your text is unchanged.\", // ── Conversation (prompt input, chat, steps, draft card, assistant panel) ── promptPlaceholder: 'Ask for something', promptSend: 'Send', promptStop: 'Stop', /** Who wrote a message, read before it. */ chatYou: 'You', chatAssistant: 'Assistant', /** Who wrote a message from another person, when it has no `author`. */ chatParticipant: 'Participant', /** Where a message came from, for example \"via Teams\". */ chatVia: (channel: string): string => `via ${channel}`, /** Accessible name of the quick replies under a message. */ chatQuickReplies: 'Suggested replies', chatCopy: 'Copy', chatRegenerate: 'Try again', chatGoodAnswer: 'Good answer', chatBadAnswer: 'Bad answer', /** Shown when an answer failed. */ chatFailed: \"The assistant couldn't answer.\", /** Accessible name of the conversation log. */ chatLog: 'Conversation', chatJumpToLatest: 'Jump to latest', /** Announced when an answer is complete, for example \"Assistant: Desk support has 2 loaners free.\" */ chatAnnouncement: (author: string, text: string): string => `${author}: ${text}`, assistantStepsShow: 'Show steps', assistantStepsHide: 'Hide steps', /** Read after an assistant step, for its status. */ assistantStepPending: 'Waiting', assistantStepRunning: 'In progress', assistantStepDone: 'Done', assistantStepError: 'Failed', assistantStepBlocked: 'Not allowed', draftConfirm: 'Confirm', draftEdit: 'Edit in form', draftDiscard: 'Discard draft', draftDiscarded: 'Discarded · nothing was sent', draftOpen: 'Open', draftCantUndo: \"This can't be undone.\", draftFailed: \"This couldn't be saved.\", panelHeadline: 'Assistant', panelNewConversation: 'New conversation', panelClose: 'Close the assistant', panelDisclaimer: 'The assistant can be wrong. Check a draft before you send it.', // ── Ask and summarize ──────────────────────────────────────────────────── aiSummaryFailed: \"The summary couldn't be written.\", aiSummaryGood: 'Good summary', aiSummaryBad: 'Bad summary', /** The Ask button of a search box with `ask`. */ searchAsk: 'Ask', /** Accessible name of the Ask button. */ searchAskLabel: 'Ask the assistant', /** The command palette's Ask row, for example \"Ask the assistant: “who approved the trip?”\". */ commandPaletteAsk: (query: string): string => `Ask the assistant: “${query}”`, commandPaletteAskDescription: 'Answers with your access', /** The filter bar's button that turns the search text into filters. */ filterBarFromSentence: 'Turn into filters', filterBarAiFailed: \"Couldn't turn this into filters.\", /** Announced when a sentence became filters, for example \"3 filters suggested\". */ filterBarAiApplied: (count: number): string => count === 1 ? '1 filter suggested' : `${count} filters suggested`, /** Label of the condition builder's describe field. */ conditionDescribe: 'Describe the condition', conditionDescribeGo: 'Go', conditionDescribeFailed: \"Couldn't turn this into rules.\", /** Label of the marker on a reply the assistant drafted. */ aiSuggestedReply: 'Suggested reply', /** Default label of a typing indicator. */ typingThinking: 'Thinking…', /** Accessible name of a citation chip, for example \"Source 2: Payroll integration\". */ citationLabel: (label: string, headline: string): string => headline ? `Source ${label}: ${headline}` : `Source ${label}`, }",
326
326
  "description": "Every user-facing string Peacock renders on its own: labels for icon buttons, screen-reader text,\nempty states, toolbar names. Apps translate them once with `setPeacockStrings()`; components that\nrender many strings also take a per-instance `strings` property. A string with values is a function.\n\nNumbers and dates are formatted with `Intl` in the resolved locale, never here."
327
327
  },
328
328
  {
@@ -2748,6 +2748,18 @@
2748
2748
  "description": "Defines the end position of the button container shape.",
2749
2749
  "name": "--button-container-shape-end-end"
2750
2750
  },
2751
+ {
2752
+ "description": "Inline padding of the button container, on both sides.",
2753
+ "name": "--button-container-padding"
2754
+ },
2755
+ {
2756
+ "description": "Inline-start padding of the button container; overrides `--button-container-padding`.",
2757
+ "name": "--button-container-padding-start"
2758
+ },
2759
+ {
2760
+ "description": "Inline-end padding of the button container; overrides `--button-container-padding`.",
2761
+ "name": "--button-container-padding-end"
2762
+ },
2751
2763
  {
2752
2764
  "description": "Color of the filled button container.",
2753
2765
  "name": "--filled-button-container-color"
@@ -5971,11 +5983,11 @@
5971
5983
  "name": "options",
5972
5984
  "default": "{}",
5973
5985
  "type": {
5974
- "text": "{ slot?: string; withReason?: boolean }"
5986
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
5975
5987
  }
5976
5988
  }
5977
5989
  ],
5978
- "description": "The Suggested badge with its clear button, while the suggestion shows. With `withReason` the\nbadge carries the reason in its tooltip, for controls that have no helper text to show it in."
5990
+ "description": "The Suggested badge with its clear button, while the suggestion shows. With `withReason` the\nbadge carries the reason in its tooltip, for controls that have no helper text to show it in.\nWith `iconOnly` it shows just the sparkle, for a field too narrow for the label."
5979
5991
  },
5980
5992
  {
5981
5993
  "kind": "method",
@@ -6272,7 +6284,7 @@
6272
6284
  "name": "options",
6273
6285
  "default": "{}",
6274
6286
  "type": {
6275
- "text": "{ slot?: string; withReason?: boolean }"
6287
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
6276
6288
  }
6277
6289
  }
6278
6290
  ],
@@ -8264,7 +8276,7 @@
8264
8276
  "name": "options",
8265
8277
  "default": "{}",
8266
8278
  "type": {
8267
- "text": "{ slot?: string; withReason?: boolean }"
8279
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
8268
8280
  }
8269
8281
  }
8270
8282
  ],
@@ -12160,7 +12172,7 @@
12160
12172
  "declarations": [
12161
12173
  {
12162
12174
  "kind": "class",
12163
- "description": "The menu wiring shared by buttons that open a `wc-menu` (dropdown button, split button):\nshow / close / toggle, Arrow Up / Down on the trigger, the trigger's `aria-haspopup`,\n`aria-expanded` and `aria-controls`, and the host's `open` / `close` events (ADR-030001).\n\nThe menu's own `open` / `close` events are stopped inside the host, which fires its own `open`\nand `close` instead; `close` carries `detail.reason` from the menu's close event. The host renders the menu with `id=${trigger.menuId}`, `@open=${trigger.handleMenuOpen}`\nand `@close=${trigger.handleMenuClose}`, and the trigger button with\n`.configAria=${trigger.triggerAria}`, `@click=${trigger.handleTriggerClick}` and\n`@keydown=${trigger.handleTriggerKeyDown}`.",
12175
+ "description": "The menu wiring shared by buttons that open a `wc-menu` (dropdown button, split button):\nshow / close / toggle, Arrow Up / Down on the trigger, the open state behind the trigger's\n`aria-expanded`, and the host's `open` / `close` events (ADR-030001).\n\nThe menu's own `open` / `close` events are stopped inside the host, which fires its own `open`\nand `close` instead; `close` carries `detail.reason` from the menu's close event. The host\nrenders the menu with `id=${trigger.menuId}`, `@open=${trigger.handleMenuOpen}` and\n`@close=${trigger.handleMenuClose}`, and the trigger button with `aria-haspopup=\"menu\"`,\n`aria-expanded=${String(trigger.open)}`, `@click=${trigger.handleTriggerClick}` and\n`@keydown=${trigger.handleTriggerKeyDown}`.\n\nAdd `aria-controls=${trigger.menuId}` only when the trigger is a native `<button>` in the same\nshadow root as the menu. A `wc-button` or `wc-icon-button` renders its `<button>` in its own\nshadow root, where an ID reference to the menu cannot resolve, so leave `aria-controls` off it.",
12164
12176
  "name": "MenuTriggerController",
12165
12177
  "members": [
12166
12178
  {
@@ -12170,7 +12182,7 @@
12170
12182
  "text": "string"
12171
12183
  },
12172
12184
  "readonly": true,
12173
- "description": "Id for the menu, referenced by the trigger's `aria-controls`.",
12185
+ "description": "Id for the menu, for the `aria-controls` of a native trigger in the same shadow root.",
12174
12186
  "default": "`${options.idPrefix}-${Math.random().toString(36).slice(2, 9)}`"
12175
12187
  },
12176
12188
  {
@@ -12208,15 +12220,6 @@
12208
12220
  "description": "Whether the menu is open, as last reported by its `open` / `close` events.",
12209
12221
  "readonly": true
12210
12222
  },
12211
- {
12212
- "kind": "field",
12213
- "name": "triggerAria",
12214
- "type": {
12215
- "text": "Record<string, string>"
12216
- },
12217
- "description": "ARIA for the trigger button.",
12218
- "readonly": true
12219
- },
12220
12223
  {
12221
12224
  "kind": "method",
12222
12225
  "name": "show",
@@ -12302,9 +12305,13 @@
12302
12305
  "name": "SplitButton",
12303
12306
  "cssProperties": [
12304
12307
  {
12305
- "description": "Defines the border radius of the split button container shape.",
12308
+ "description": "Radius of the split button's outer corners. Defaults to fully round; the inner corners follow the M3 size tokens.",
12306
12309
  "name": "--split-button-container-shape:"
12307
12310
  },
12311
+ {
12312
+ "description": "Space between the main button and the menu button. Defaults to 2px.",
12313
+ "name": "--split-button-gap:"
12314
+ },
12308
12315
  {
12309
12316
  "description": "Color of the filled split button container.",
12310
12317
  "name": "--filled-split-button-container-color:"
@@ -12328,6 +12335,14 @@
12328
12335
  {
12329
12336
  "description": "Text color of the tonal split button label.",
12330
12337
  "name": "--tonal-split-button-label-text-color:"
12338
+ },
12339
+ {
12340
+ "description": "Color of the elevated split button container.",
12341
+ "name": "--elevated-split-button-container-color:"
12342
+ },
12343
+ {
12344
+ "description": "Text color of the elevated split button label.",
12345
+ "name": "--elevated-split-button-label-text-color:"
12331
12346
  }
12332
12347
  ],
12333
12348
  "members": [
@@ -12346,12 +12361,15 @@
12346
12361
  "kind": "field",
12347
12362
  "name": "variant",
12348
12363
  "type": {
12349
- "text": "'filled' | 'tonal' | 'outlined'"
12364
+ "text": "| 'filled'\n | 'tonal'\n | 'elevated'\n | 'outlined'"
12350
12365
  },
12351
12366
  "default": "'filled'",
12352
- "description": "The visual style of the split button.\n\nPossible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"tonal\"` is a light color button.",
12367
+ "description": "The visual style of the split button.\n\nPossible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"tonal\"` is a light color button.\n`\"elevated\"` is a raised button on a low surface.",
12353
12368
  "attribute": "variant",
12354
- "reflects": true
12369
+ "reflects": true,
12370
+ "expandedType": {
12371
+ "text": "'filled' | 'tonal' | 'elevated' | 'outlined'"
12372
+ }
12355
12373
  },
12356
12374
  {
12357
12375
  "kind": "field",
@@ -12503,11 +12521,14 @@
12503
12521
  {
12504
12522
  "name": "variant",
12505
12523
  "type": {
12506
- "text": "'filled' | 'tonal' | 'outlined'"
12524
+ "text": "| 'filled'\n | 'tonal'\n | 'elevated'\n | 'outlined'"
12507
12525
  },
12508
12526
  "default": "'filled'",
12509
- "description": "The visual style of the split button.\n\nPossible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"tonal\"` is a light color button.",
12510
- "fieldName": "variant"
12527
+ "description": "The visual style of the split button.\n\nPossible variant values:\n`\"filled\"` is a filled button.\n`\"outlined\"` is an outlined button.\n`\"tonal\"` is a light color button.\n`\"elevated\"` is a raised button on a low surface.",
12528
+ "fieldName": "variant",
12529
+ "expandedType": {
12530
+ "text": "'filled' | 'tonal' | 'elevated' | 'outlined'"
12531
+ }
12511
12532
  },
12512
12533
  {
12513
12534
  "name": "color",
@@ -15280,6 +15301,16 @@
15280
15301
  "privacy": "protected",
15281
15302
  "default": "false"
15282
15303
  },
15304
+ {
15305
+ "kind": "field",
15306
+ "name": "__narrow",
15307
+ "type": {
15308
+ "text": "boolean"
15309
+ },
15310
+ "privacy": "private",
15311
+ "default": "false",
15312
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle."
15313
+ },
15283
15314
  {
15284
15315
  "kind": "field",
15285
15316
  "name": "fieldDescriptionId",
@@ -15297,6 +15328,25 @@
15297
15328
  "privacy": "protected",
15298
15329
  "description": "A `tabindex` set on the host, moved to the inner control."
15299
15330
  },
15331
+ {
15332
+ "kind": "field",
15333
+ "name": "__widthObserver",
15334
+ "type": {
15335
+ "text": "ResizeObserver | undefined"
15336
+ },
15337
+ "privacy": "private",
15338
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink."
15339
+ },
15340
+ {
15341
+ "kind": "field",
15342
+ "name": "suggestionBadgeIconOnly",
15343
+ "type": {
15344
+ "text": "boolean"
15345
+ },
15346
+ "privacy": "protected",
15347
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
15348
+ "readonly": true
15349
+ },
15300
15350
  {
15301
15351
  "kind": "method",
15302
15352
  "name": "fieldErrorText",
@@ -15852,7 +15902,7 @@
15852
15902
  "name": "options",
15853
15903
  "default": "{}",
15854
15904
  "type": {
15855
- "text": "{ slot?: string; withReason?: boolean }"
15905
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
15856
15906
  }
15857
15907
  }
15858
15908
  ],
@@ -16647,6 +16697,20 @@
16647
16697
  "module": "src/input/BaseField.ts"
16648
16698
  }
16649
16699
  },
16700
+ {
16701
+ "kind": "field",
16702
+ "name": "__narrow",
16703
+ "type": {
16704
+ "text": "boolean"
16705
+ },
16706
+ "privacy": "private",
16707
+ "default": "false",
16708
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
16709
+ "inheritedFrom": {
16710
+ "name": "BaseField",
16711
+ "module": "src/input/BaseField.ts"
16712
+ }
16713
+ },
16650
16714
  {
16651
16715
  "kind": "field",
16652
16716
  "name": "fieldDescriptionId",
@@ -16672,6 +16736,33 @@
16672
16736
  "module": "src/input/BaseField.ts"
16673
16737
  }
16674
16738
  },
16739
+ {
16740
+ "kind": "field",
16741
+ "name": "__widthObserver",
16742
+ "type": {
16743
+ "text": "ResizeObserver | undefined"
16744
+ },
16745
+ "privacy": "private",
16746
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
16747
+ "inheritedFrom": {
16748
+ "name": "BaseField",
16749
+ "module": "src/input/BaseField.ts"
16750
+ }
16751
+ },
16752
+ {
16753
+ "kind": "field",
16754
+ "name": "suggestionBadgeIconOnly",
16755
+ "type": {
16756
+ "text": "boolean"
16757
+ },
16758
+ "privacy": "protected",
16759
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
16760
+ "readonly": true,
16761
+ "inheritedFrom": {
16762
+ "name": "BaseField",
16763
+ "module": "src/input/BaseField.ts"
16764
+ }
16765
+ },
16675
16766
  {
16676
16767
  "kind": "method",
16677
16768
  "name": "fieldErrorText",
@@ -17251,7 +17342,7 @@
17251
17342
  "name": "options",
17252
17343
  "default": "{}",
17253
17344
  "type": {
17254
- "text": "{ slot?: string; withReason?: boolean }"
17345
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
17255
17346
  }
17256
17347
  }
17257
17348
  ],
@@ -18171,6 +18262,20 @@
18171
18262
  "module": "src/input/BaseField.ts"
18172
18263
  }
18173
18264
  },
18265
+ {
18266
+ "kind": "field",
18267
+ "name": "__narrow",
18268
+ "type": {
18269
+ "text": "boolean"
18270
+ },
18271
+ "privacy": "private",
18272
+ "default": "false",
18273
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
18274
+ "inheritedFrom": {
18275
+ "name": "BaseField",
18276
+ "module": "src/input/BaseField.ts"
18277
+ }
18278
+ },
18174
18279
  {
18175
18280
  "kind": "field",
18176
18281
  "name": "fieldDescriptionId",
@@ -18196,6 +18301,33 @@
18196
18301
  "module": "src/input/BaseField.ts"
18197
18302
  }
18198
18303
  },
18304
+ {
18305
+ "kind": "field",
18306
+ "name": "__widthObserver",
18307
+ "type": {
18308
+ "text": "ResizeObserver | undefined"
18309
+ },
18310
+ "privacy": "private",
18311
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
18312
+ "inheritedFrom": {
18313
+ "name": "BaseField",
18314
+ "module": "src/input/BaseField.ts"
18315
+ }
18316
+ },
18317
+ {
18318
+ "kind": "field",
18319
+ "name": "suggestionBadgeIconOnly",
18320
+ "type": {
18321
+ "text": "boolean"
18322
+ },
18323
+ "privacy": "protected",
18324
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
18325
+ "readonly": true,
18326
+ "inheritedFrom": {
18327
+ "name": "BaseField",
18328
+ "module": "src/input/BaseField.ts"
18329
+ }
18330
+ },
18199
18331
  {
18200
18332
  "kind": "method",
18201
18333
  "name": "fieldErrorText",
@@ -18775,7 +18907,7 @@
18775
18907
  "name": "options",
18776
18908
  "default": "{}",
18777
18909
  "type": {
18778
- "text": "{ slot?: string; withReason?: boolean }"
18910
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
18779
18911
  }
18780
18912
  }
18781
18913
  ],
@@ -19699,6 +19831,20 @@
19699
19831
  "module": "src/input/BaseField.ts"
19700
19832
  }
19701
19833
  },
19834
+ {
19835
+ "kind": "field",
19836
+ "name": "__narrow",
19837
+ "type": {
19838
+ "text": "boolean"
19839
+ },
19840
+ "privacy": "private",
19841
+ "default": "false",
19842
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
19843
+ "inheritedFrom": {
19844
+ "name": "BaseField",
19845
+ "module": "src/input/BaseField.ts"
19846
+ }
19847
+ },
19702
19848
  {
19703
19849
  "kind": "field",
19704
19850
  "name": "fieldDescriptionId",
@@ -19724,6 +19870,33 @@
19724
19870
  "module": "src/input/BaseField.ts"
19725
19871
  }
19726
19872
  },
19873
+ {
19874
+ "kind": "field",
19875
+ "name": "__widthObserver",
19876
+ "type": {
19877
+ "text": "ResizeObserver | undefined"
19878
+ },
19879
+ "privacy": "private",
19880
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
19881
+ "inheritedFrom": {
19882
+ "name": "BaseField",
19883
+ "module": "src/input/BaseField.ts"
19884
+ }
19885
+ },
19886
+ {
19887
+ "kind": "field",
19888
+ "name": "suggestionBadgeIconOnly",
19889
+ "type": {
19890
+ "text": "boolean"
19891
+ },
19892
+ "privacy": "protected",
19893
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
19894
+ "readonly": true,
19895
+ "inheritedFrom": {
19896
+ "name": "BaseField",
19897
+ "module": "src/input/BaseField.ts"
19898
+ }
19899
+ },
19727
19900
  {
19728
19901
  "kind": "method",
19729
19902
  "name": "fieldErrorText",
@@ -20303,7 +20476,7 @@
20303
20476
  "name": "options",
20304
20477
  "default": "{}",
20305
20478
  "type": {
20306
- "text": "{ slot?: string; withReason?: boolean }"
20479
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
20307
20480
  }
20308
20481
  }
20309
20482
  ],
@@ -21722,6 +21895,20 @@
21722
21895
  "module": "src/input/BaseField.ts"
21723
21896
  }
21724
21897
  },
21898
+ {
21899
+ "kind": "field",
21900
+ "name": "__narrow",
21901
+ "type": {
21902
+ "text": "boolean"
21903
+ },
21904
+ "privacy": "private",
21905
+ "default": "false",
21906
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
21907
+ "inheritedFrom": {
21908
+ "name": "BaseField",
21909
+ "module": "src/input/BaseField.ts"
21910
+ }
21911
+ },
21725
21912
  {
21726
21913
  "kind": "field",
21727
21914
  "name": "fieldDescriptionId",
@@ -21747,6 +21934,33 @@
21747
21934
  "module": "src/input/BaseField.ts"
21748
21935
  }
21749
21936
  },
21937
+ {
21938
+ "kind": "field",
21939
+ "name": "__widthObserver",
21940
+ "type": {
21941
+ "text": "ResizeObserver | undefined"
21942
+ },
21943
+ "privacy": "private",
21944
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
21945
+ "inheritedFrom": {
21946
+ "name": "BaseField",
21947
+ "module": "src/input/BaseField.ts"
21948
+ }
21949
+ },
21950
+ {
21951
+ "kind": "field",
21952
+ "name": "suggestionBadgeIconOnly",
21953
+ "type": {
21954
+ "text": "boolean"
21955
+ },
21956
+ "privacy": "protected",
21957
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
21958
+ "readonly": true,
21959
+ "inheritedFrom": {
21960
+ "name": "BaseField",
21961
+ "module": "src/input/BaseField.ts"
21962
+ }
21963
+ },
21750
21964
  {
21751
21965
  "kind": "method",
21752
21966
  "name": "fieldErrorText",
@@ -22316,7 +22530,7 @@
22316
22530
  "name": "options",
22317
22531
  "default": "{}",
22318
22532
  "type": {
22319
- "text": "{ slot?: string; withReason?: boolean }"
22533
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
22320
22534
  }
22321
22535
  }
22322
22536
  ],
@@ -26972,6 +27186,20 @@
26972
27186
  "module": "src/input/BaseField.ts"
26973
27187
  }
26974
27188
  },
27189
+ {
27190
+ "kind": "field",
27191
+ "name": "__narrow",
27192
+ "type": {
27193
+ "text": "boolean"
27194
+ },
27195
+ "privacy": "private",
27196
+ "default": "false",
27197
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
27198
+ "inheritedFrom": {
27199
+ "name": "BaseField",
27200
+ "module": "src/input/BaseField.ts"
27201
+ }
27202
+ },
26975
27203
  {
26976
27204
  "kind": "field",
26977
27205
  "name": "fieldDescriptionId",
@@ -26997,6 +27225,33 @@
26997
27225
  "module": "src/input/BaseField.ts"
26998
27226
  }
26999
27227
  },
27228
+ {
27229
+ "kind": "field",
27230
+ "name": "__widthObserver",
27231
+ "type": {
27232
+ "text": "ResizeObserver | undefined"
27233
+ },
27234
+ "privacy": "private",
27235
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
27236
+ "inheritedFrom": {
27237
+ "name": "BaseField",
27238
+ "module": "src/input/BaseField.ts"
27239
+ }
27240
+ },
27241
+ {
27242
+ "kind": "field",
27243
+ "name": "suggestionBadgeIconOnly",
27244
+ "type": {
27245
+ "text": "boolean"
27246
+ },
27247
+ "privacy": "protected",
27248
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
27249
+ "readonly": true,
27250
+ "inheritedFrom": {
27251
+ "name": "BaseField",
27252
+ "module": "src/input/BaseField.ts"
27253
+ }
27254
+ },
27000
27255
  {
27001
27256
  "kind": "method",
27002
27257
  "name": "fieldErrorText",
@@ -27566,7 +27821,7 @@
27566
27821
  "name": "options",
27567
27822
  "default": "{}",
27568
27823
  "type": {
27569
- "text": "{ slot?: string; withReason?: boolean }"
27824
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
27570
27825
  }
27571
27826
  }
27572
27827
  ],
@@ -29068,6 +29323,20 @@
29068
29323
  "module": "src/input/BaseField.ts"
29069
29324
  }
29070
29325
  },
29326
+ {
29327
+ "kind": "field",
29328
+ "name": "__narrow",
29329
+ "type": {
29330
+ "text": "boolean"
29331
+ },
29332
+ "privacy": "private",
29333
+ "default": "false",
29334
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
29335
+ "inheritedFrom": {
29336
+ "name": "BaseField",
29337
+ "module": "src/input/BaseField.ts"
29338
+ }
29339
+ },
29071
29340
  {
29072
29341
  "kind": "field",
29073
29342
  "name": "fieldDescriptionId",
@@ -29093,6 +29362,33 @@
29093
29362
  "module": "src/input/BaseField.ts"
29094
29363
  }
29095
29364
  },
29365
+ {
29366
+ "kind": "field",
29367
+ "name": "__widthObserver",
29368
+ "type": {
29369
+ "text": "ResizeObserver | undefined"
29370
+ },
29371
+ "privacy": "private",
29372
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
29373
+ "inheritedFrom": {
29374
+ "name": "BaseField",
29375
+ "module": "src/input/BaseField.ts"
29376
+ }
29377
+ },
29378
+ {
29379
+ "kind": "field",
29380
+ "name": "suggestionBadgeIconOnly",
29381
+ "type": {
29382
+ "text": "boolean"
29383
+ },
29384
+ "privacy": "protected",
29385
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
29386
+ "readonly": true,
29387
+ "inheritedFrom": {
29388
+ "name": "BaseField",
29389
+ "module": "src/input/BaseField.ts"
29390
+ }
29391
+ },
29096
29392
  {
29097
29393
  "kind": "method",
29098
29394
  "name": "fieldErrorText",
@@ -29662,7 +29958,7 @@
29662
29958
  "name": "options",
29663
29959
  "default": "{}",
29664
29960
  "type": {
29665
- "text": "{ slot?: string; withReason?: boolean }"
29961
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
29666
29962
  }
29667
29963
  }
29668
29964
  ],
@@ -31138,6 +31434,20 @@
31138
31434
  "module": "src/input/BaseField.ts"
31139
31435
  }
31140
31436
  },
31437
+ {
31438
+ "kind": "field",
31439
+ "name": "__narrow",
31440
+ "type": {
31441
+ "text": "boolean"
31442
+ },
31443
+ "privacy": "private",
31444
+ "default": "false",
31445
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
31446
+ "inheritedFrom": {
31447
+ "name": "BaseField",
31448
+ "module": "src/input/BaseField.ts"
31449
+ }
31450
+ },
31141
31451
  {
31142
31452
  "kind": "field",
31143
31453
  "name": "fieldDescriptionId",
@@ -31163,6 +31473,33 @@
31163
31473
  "module": "src/input/BaseField.ts"
31164
31474
  }
31165
31475
  },
31476
+ {
31477
+ "kind": "field",
31478
+ "name": "__widthObserver",
31479
+ "type": {
31480
+ "text": "ResizeObserver | undefined"
31481
+ },
31482
+ "privacy": "private",
31483
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
31484
+ "inheritedFrom": {
31485
+ "name": "BaseField",
31486
+ "module": "src/input/BaseField.ts"
31487
+ }
31488
+ },
31489
+ {
31490
+ "kind": "field",
31491
+ "name": "suggestionBadgeIconOnly",
31492
+ "type": {
31493
+ "text": "boolean"
31494
+ },
31495
+ "privacy": "protected",
31496
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
31497
+ "readonly": true,
31498
+ "inheritedFrom": {
31499
+ "name": "BaseField",
31500
+ "module": "src/input/BaseField.ts"
31501
+ }
31502
+ },
31166
31503
  {
31167
31504
  "kind": "method",
31168
31505
  "name": "fieldErrorText",
@@ -31732,7 +32069,7 @@
31732
32069
  "name": "options",
31733
32070
  "default": "{}",
31734
32071
  "type": {
31735
- "text": "{ slot?: string; withReason?: boolean }"
32072
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
31736
32073
  }
31737
32074
  }
31738
32075
  ],
@@ -33192,6 +33529,20 @@
33192
33529
  "module": "src/input/BaseField.ts"
33193
33530
  }
33194
33531
  },
33532
+ {
33533
+ "kind": "field",
33534
+ "name": "__narrow",
33535
+ "type": {
33536
+ "text": "boolean"
33537
+ },
33538
+ "privacy": "private",
33539
+ "default": "false",
33540
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
33541
+ "inheritedFrom": {
33542
+ "name": "BaseField",
33543
+ "module": "src/input/BaseField.ts"
33544
+ }
33545
+ },
33195
33546
  {
33196
33547
  "kind": "field",
33197
33548
  "name": "fieldDescriptionId",
@@ -33217,6 +33568,33 @@
33217
33568
  "module": "src/input/BaseField.ts"
33218
33569
  }
33219
33570
  },
33571
+ {
33572
+ "kind": "field",
33573
+ "name": "__widthObserver",
33574
+ "type": {
33575
+ "text": "ResizeObserver | undefined"
33576
+ },
33577
+ "privacy": "private",
33578
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
33579
+ "inheritedFrom": {
33580
+ "name": "BaseField",
33581
+ "module": "src/input/BaseField.ts"
33582
+ }
33583
+ },
33584
+ {
33585
+ "kind": "field",
33586
+ "name": "suggestionBadgeIconOnly",
33587
+ "type": {
33588
+ "text": "boolean"
33589
+ },
33590
+ "privacy": "protected",
33591
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
33592
+ "readonly": true,
33593
+ "inheritedFrom": {
33594
+ "name": "BaseField",
33595
+ "module": "src/input/BaseField.ts"
33596
+ }
33597
+ },
33220
33598
  {
33221
33599
  "kind": "method",
33222
33600
  "name": "fieldErrorText",
@@ -33786,7 +34164,7 @@
33786
34164
  "name": "options",
33787
34165
  "default": "{}",
33788
34166
  "type": {
33789
- "text": "{ slot?: string; withReason?: boolean }"
34167
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
33790
34168
  }
33791
34169
  }
33792
34170
  ],
@@ -35303,6 +35681,20 @@
35303
35681
  "module": "src/input/BaseField.ts"
35304
35682
  }
35305
35683
  },
35684
+ {
35685
+ "kind": "field",
35686
+ "name": "__narrow",
35687
+ "type": {
35688
+ "text": "boolean"
35689
+ },
35690
+ "privacy": "private",
35691
+ "default": "false",
35692
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
35693
+ "inheritedFrom": {
35694
+ "name": "BaseField",
35695
+ "module": "src/input/BaseField.ts"
35696
+ }
35697
+ },
35306
35698
  {
35307
35699
  "kind": "field",
35308
35700
  "name": "fieldDescriptionId",
@@ -35328,6 +35720,33 @@
35328
35720
  "module": "src/input/BaseField.ts"
35329
35721
  }
35330
35722
  },
35723
+ {
35724
+ "kind": "field",
35725
+ "name": "__widthObserver",
35726
+ "type": {
35727
+ "text": "ResizeObserver | undefined"
35728
+ },
35729
+ "privacy": "private",
35730
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
35731
+ "inheritedFrom": {
35732
+ "name": "BaseField",
35733
+ "module": "src/input/BaseField.ts"
35734
+ }
35735
+ },
35736
+ {
35737
+ "kind": "field",
35738
+ "name": "suggestionBadgeIconOnly",
35739
+ "type": {
35740
+ "text": "boolean"
35741
+ },
35742
+ "privacy": "protected",
35743
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
35744
+ "readonly": true,
35745
+ "inheritedFrom": {
35746
+ "name": "BaseField",
35747
+ "module": "src/input/BaseField.ts"
35748
+ }
35749
+ },
35331
35750
  {
35332
35751
  "kind": "method",
35333
35752
  "name": "fieldErrorText",
@@ -35897,7 +36316,7 @@
35897
36316
  "name": "options",
35898
36317
  "default": "{}",
35899
36318
  "type": {
35900
- "text": "{ slot?: string; withReason?: boolean }"
36319
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
35901
36320
  }
35902
36321
  }
35903
36322
  ],
@@ -36818,6 +37237,20 @@
36818
37237
  "readonly": true,
36819
37238
  "default": "new GhostTextController(this, { control: () => this.inputElement, enabled: () => this.aiCompletion, insert: text => this.insertAtCaret(text), i18n: this.i18n, })"
36820
37239
  },
37240
+ {
37241
+ "kind": "field",
37242
+ "name": "suggestionBadgeIconOnly",
37243
+ "type": {
37244
+ "text": "boolean"
37245
+ },
37246
+ "privacy": "protected",
37247
+ "description": "Just the sparkle: a label beside the text would narrow every line.",
37248
+ "readonly": true,
37249
+ "inheritedFrom": {
37250
+ "name": "BaseField",
37251
+ "module": "src/input/BaseField.ts"
37252
+ }
37253
+ },
36821
37254
  {
36822
37255
  "kind": "method",
36823
37256
  "name": "focus"
@@ -37099,6 +37532,20 @@
37099
37532
  "module": "src/input/BaseField.ts"
37100
37533
  }
37101
37534
  },
37535
+ {
37536
+ "kind": "field",
37537
+ "name": "__narrow",
37538
+ "type": {
37539
+ "text": "boolean"
37540
+ },
37541
+ "privacy": "private",
37542
+ "default": "false",
37543
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
37544
+ "inheritedFrom": {
37545
+ "name": "BaseField",
37546
+ "module": "src/input/BaseField.ts"
37547
+ }
37548
+ },
37102
37549
  {
37103
37550
  "kind": "field",
37104
37551
  "name": "fieldDescriptionId",
@@ -37124,6 +37571,19 @@
37124
37571
  "module": "src/input/BaseField.ts"
37125
37572
  }
37126
37573
  },
37574
+ {
37575
+ "kind": "field",
37576
+ "name": "__widthObserver",
37577
+ "type": {
37578
+ "text": "ResizeObserver | undefined"
37579
+ },
37580
+ "privacy": "private",
37581
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
37582
+ "inheritedFrom": {
37583
+ "name": "BaseField",
37584
+ "module": "src/input/BaseField.ts"
37585
+ }
37586
+ },
37127
37587
  {
37128
37588
  "kind": "method",
37129
37589
  "name": "fieldErrorText",
@@ -37703,7 +38163,7 @@
37703
38163
  "name": "options",
37704
38164
  "default": "{}",
37705
38165
  "type": {
37706
- "text": "{ slot?: string; withReason?: boolean }"
38166
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
37707
38167
  }
37708
38168
  }
37709
38169
  ],
@@ -39028,7 +39488,7 @@
39028
39488
  "name": "options",
39029
39489
  "default": "{}",
39030
39490
  "type": {
39031
- "text": "{ slot?: string; withReason?: boolean }"
39491
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
39032
39492
  }
39033
39493
  }
39034
39494
  ],
@@ -40250,7 +40710,7 @@
40250
40710
  "name": "options",
40251
40711
  "default": "{}",
40252
40712
  "type": {
40253
- "text": "{ slot?: string; withReason?: boolean }"
40713
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
40254
40714
  }
40255
40715
  }
40256
40716
  ],
@@ -41519,7 +41979,7 @@
41519
41979
  "name": "options",
41520
41980
  "default": "{}",
41521
41981
  "type": {
41522
- "text": "{ slot?: string; withReason?: boolean }"
41982
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
41523
41983
  }
41524
41984
  }
41525
41985
  ],
@@ -46105,7 +46565,7 @@
46105
46565
  "name": "options",
46106
46566
  "default": "{}",
46107
46567
  "type": {
46108
- "text": "{ slot?: string; withReason?: boolean }"
46568
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
46109
46569
  }
46110
46570
  }
46111
46571
  ],
@@ -50433,7 +50893,7 @@
50433
50893
  "name": "options",
50434
50894
  "default": "{}",
50435
50895
  "type": {
50436
- "text": "{ slot?: string; withReason?: boolean }"
50896
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
50437
50897
  }
50438
50898
  }
50439
50899
  ],
@@ -52438,7 +52898,7 @@
52438
52898
  "name": "options",
52439
52899
  "default": "{}",
52440
52900
  "type": {
52441
- "text": "{ slot?: string; withReason?: boolean }"
52901
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
52442
52902
  }
52443
52903
  }
52444
52904
  ],
@@ -54561,7 +55021,7 @@
54561
55021
  "name": "options",
54562
55022
  "default": "{}",
54563
55023
  "type": {
54564
- "text": "{ slot?: string; withReason?: boolean }"
55024
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
54565
55025
  }
54566
55026
  }
54567
55027
  ],
@@ -60461,7 +60921,7 @@
60461
60921
  "name": "options",
60462
60922
  "default": "{}",
60463
60923
  "type": {
60464
- "text": "{ slot?: string; withReason?: boolean }"
60924
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
60465
60925
  }
60466
60926
  }
60467
60927
  ],
@@ -61834,6 +62294,20 @@
61834
62294
  "module": "src/input/BaseField.ts"
61835
62295
  }
61836
62296
  },
62297
+ {
62298
+ "kind": "field",
62299
+ "name": "__narrow",
62300
+ "type": {
62301
+ "text": "boolean"
62302
+ },
62303
+ "privacy": "private",
62304
+ "default": "false",
62305
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
62306
+ "inheritedFrom": {
62307
+ "name": "BaseField",
62308
+ "module": "src/input/BaseField.ts"
62309
+ }
62310
+ },
61837
62311
  {
61838
62312
  "kind": "field",
61839
62313
  "name": "fieldDescriptionId",
@@ -61859,6 +62333,33 @@
61859
62333
  "module": "src/input/BaseField.ts"
61860
62334
  }
61861
62335
  },
62336
+ {
62337
+ "kind": "field",
62338
+ "name": "__widthObserver",
62339
+ "type": {
62340
+ "text": "ResizeObserver | undefined"
62341
+ },
62342
+ "privacy": "private",
62343
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
62344
+ "inheritedFrom": {
62345
+ "name": "BaseField",
62346
+ "module": "src/input/BaseField.ts"
62347
+ }
62348
+ },
62349
+ {
62350
+ "kind": "field",
62351
+ "name": "suggestionBadgeIconOnly",
62352
+ "type": {
62353
+ "text": "boolean"
62354
+ },
62355
+ "privacy": "protected",
62356
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
62357
+ "readonly": true,
62358
+ "inheritedFrom": {
62359
+ "name": "BaseField",
62360
+ "module": "src/input/BaseField.ts"
62361
+ }
62362
+ },
61862
62363
  {
61863
62364
  "kind": "method",
61864
62365
  "name": "fieldErrorText",
@@ -62438,7 +62939,7 @@
62438
62939
  "name": "options",
62439
62940
  "default": "{}",
62440
62941
  "type": {
62441
- "text": "{ slot?: string; withReason?: boolean }"
62942
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
62442
62943
  }
62443
62944
  }
62444
62945
  ],
@@ -79683,7 +80184,7 @@
79683
80184
  "name": "options",
79684
80185
  "default": "{}",
79685
80186
  "type": {
79686
- "text": "{ slot?: string; withReason?: boolean }"
80187
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
79687
80188
  }
79688
80189
  }
79689
80190
  ],
@@ -83407,6 +83908,20 @@
83407
83908
  "module": "src/input/BaseField.ts"
83408
83909
  }
83409
83910
  },
83911
+ {
83912
+ "kind": "field",
83913
+ "name": "__narrow",
83914
+ "type": {
83915
+ "text": "boolean"
83916
+ },
83917
+ "privacy": "private",
83918
+ "default": "false",
83919
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
83920
+ "inheritedFrom": {
83921
+ "name": "BaseField",
83922
+ "module": "src/input/BaseField.ts"
83923
+ }
83924
+ },
83410
83925
  {
83411
83926
  "kind": "field",
83412
83927
  "name": "fieldDescriptionId",
@@ -83432,6 +83947,33 @@
83432
83947
  "module": "src/input/BaseField.ts"
83433
83948
  }
83434
83949
  },
83950
+ {
83951
+ "kind": "field",
83952
+ "name": "__widthObserver",
83953
+ "type": {
83954
+ "text": "ResizeObserver | undefined"
83955
+ },
83956
+ "privacy": "private",
83957
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
83958
+ "inheritedFrom": {
83959
+ "name": "BaseField",
83960
+ "module": "src/input/BaseField.ts"
83961
+ }
83962
+ },
83963
+ {
83964
+ "kind": "field",
83965
+ "name": "suggestionBadgeIconOnly",
83966
+ "type": {
83967
+ "text": "boolean"
83968
+ },
83969
+ "privacy": "protected",
83970
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
83971
+ "readonly": true,
83972
+ "inheritedFrom": {
83973
+ "name": "BaseField",
83974
+ "module": "src/input/BaseField.ts"
83975
+ }
83976
+ },
83435
83977
  {
83436
83978
  "kind": "method",
83437
83979
  "name": "fieldErrorText",
@@ -83970,7 +84512,7 @@
83970
84512
  "name": "options",
83971
84513
  "default": "{}",
83972
84514
  "type": {
83973
- "text": "{ slot?: string; withReason?: boolean }"
84515
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
83974
84516
  }
83975
84517
  }
83976
84518
  ],
@@ -85225,7 +85767,7 @@
85225
85767
  "name": "options",
85226
85768
  "default": "{}",
85227
85769
  "type": {
85228
- "text": "{ slot?: string; withReason?: boolean }"
85770
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
85229
85771
  }
85230
85772
  }
85231
85773
  ],
@@ -90850,7 +91392,7 @@
90850
91392
  "name": "options",
90851
91393
  "default": "{}",
90852
91394
  "type": {
90853
- "text": "{ slot?: string; withReason?: boolean }"
91395
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
90854
91396
  }
90855
91397
  }
90856
91398
  ],
@@ -91852,6 +92394,20 @@
91852
92394
  "module": "src/input/BaseField.ts"
91853
92395
  }
91854
92396
  },
92397
+ {
92398
+ "kind": "field",
92399
+ "name": "__narrow",
92400
+ "type": {
92401
+ "text": "boolean"
92402
+ },
92403
+ "privacy": "private",
92404
+ "default": "false",
92405
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
92406
+ "inheritedFrom": {
92407
+ "name": "BaseField",
92408
+ "module": "src/input/BaseField.ts"
92409
+ }
92410
+ },
91855
92411
  {
91856
92412
  "kind": "field",
91857
92413
  "name": "fieldDescriptionId",
@@ -91877,6 +92433,33 @@
91877
92433
  "module": "src/input/BaseField.ts"
91878
92434
  }
91879
92435
  },
92436
+ {
92437
+ "kind": "field",
92438
+ "name": "__widthObserver",
92439
+ "type": {
92440
+ "text": "ResizeObserver | undefined"
92441
+ },
92442
+ "privacy": "private",
92443
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
92444
+ "inheritedFrom": {
92445
+ "name": "BaseField",
92446
+ "module": "src/input/BaseField.ts"
92447
+ }
92448
+ },
92449
+ {
92450
+ "kind": "field",
92451
+ "name": "suggestionBadgeIconOnly",
92452
+ "type": {
92453
+ "text": "boolean"
92454
+ },
92455
+ "privacy": "protected",
92456
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
92457
+ "readonly": true,
92458
+ "inheritedFrom": {
92459
+ "name": "BaseField",
92460
+ "module": "src/input/BaseField.ts"
92461
+ }
92462
+ },
91880
92463
  {
91881
92464
  "kind": "method",
91882
92465
  "name": "fieldErrorText",
@@ -92446,7 +93029,7 @@
92446
93029
  "name": "options",
92447
93030
  "default": "{}",
92448
93031
  "type": {
92449
- "text": "{ slot?: string; withReason?: boolean }"
93032
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
92450
93033
  }
92451
93034
  }
92452
93035
  ],
@@ -94042,7 +94625,7 @@
94042
94625
  "name": "options",
94043
94626
  "default": "{}",
94044
94627
  "type": {
94045
- "text": "{ slot?: string; withReason?: boolean }"
94628
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
94046
94629
  }
94047
94630
  }
94048
94631
  ],
@@ -97280,7 +97863,7 @@
97280
97863
  "name": "options",
97281
97864
  "default": "{}",
97282
97865
  "type": {
97283
- "text": "{ slot?: string; withReason?: boolean }"
97866
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
97284
97867
  }
97285
97868
  }
97286
97869
  ],
@@ -99388,6 +99971,20 @@
99388
99971
  "module": "src/input/BaseField.ts"
99389
99972
  }
99390
99973
  },
99974
+ {
99975
+ "kind": "field",
99976
+ "name": "__narrow",
99977
+ "type": {
99978
+ "text": "boolean"
99979
+ },
99980
+ "privacy": "private",
99981
+ "default": "false",
99982
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
99983
+ "inheritedFrom": {
99984
+ "name": "BaseField",
99985
+ "module": "src/input/BaseField.ts"
99986
+ }
99987
+ },
99391
99988
  {
99392
99989
  "kind": "field",
99393
99990
  "name": "fieldDescriptionId",
@@ -99413,6 +100010,33 @@
99413
100010
  "module": "src/input/BaseField.ts"
99414
100011
  }
99415
100012
  },
100013
+ {
100014
+ "kind": "field",
100015
+ "name": "__widthObserver",
100016
+ "type": {
100017
+ "text": "ResizeObserver | undefined"
100018
+ },
100019
+ "privacy": "private",
100020
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
100021
+ "inheritedFrom": {
100022
+ "name": "BaseField",
100023
+ "module": "src/input/BaseField.ts"
100024
+ }
100025
+ },
100026
+ {
100027
+ "kind": "field",
100028
+ "name": "suggestionBadgeIconOnly",
100029
+ "type": {
100030
+ "text": "boolean"
100031
+ },
100032
+ "privacy": "protected",
100033
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
100034
+ "readonly": true,
100035
+ "inheritedFrom": {
100036
+ "name": "BaseField",
100037
+ "module": "src/input/BaseField.ts"
100038
+ }
100039
+ },
99416
100040
  {
99417
100041
  "kind": "method",
99418
100042
  "name": "fieldErrorText",
@@ -99982,7 +100606,7 @@
99982
100606
  "name": "options",
99983
100607
  "default": "{}",
99984
100608
  "type": {
99985
- "text": "{ slot?: string; withReason?: boolean }"
100609
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
99986
100610
  }
99987
100611
  }
99988
100612
  ],
@@ -101355,6 +101979,20 @@
101355
101979
  "module": "src/input/BaseField.ts"
101356
101980
  }
101357
101981
  },
101982
+ {
101983
+ "kind": "field",
101984
+ "name": "__narrow",
101985
+ "type": {
101986
+ "text": "boolean"
101987
+ },
101988
+ "privacy": "private",
101989
+ "default": "false",
101990
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
101991
+ "inheritedFrom": {
101992
+ "name": "BaseField",
101993
+ "module": "src/input/BaseField.ts"
101994
+ }
101995
+ },
101358
101996
  {
101359
101997
  "kind": "field",
101360
101998
  "name": "fieldDescriptionId",
@@ -101380,6 +102018,33 @@
101380
102018
  "module": "src/input/BaseField.ts"
101381
102019
  }
101382
102020
  },
102021
+ {
102022
+ "kind": "field",
102023
+ "name": "__widthObserver",
102024
+ "type": {
102025
+ "text": "ResizeObserver | undefined"
102026
+ },
102027
+ "privacy": "private",
102028
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
102029
+ "inheritedFrom": {
102030
+ "name": "BaseField",
102031
+ "module": "src/input/BaseField.ts"
102032
+ }
102033
+ },
102034
+ {
102035
+ "kind": "field",
102036
+ "name": "suggestionBadgeIconOnly",
102037
+ "type": {
102038
+ "text": "boolean"
102039
+ },
102040
+ "privacy": "protected",
102041
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
102042
+ "readonly": true,
102043
+ "inheritedFrom": {
102044
+ "name": "BaseField",
102045
+ "module": "src/input/BaseField.ts"
102046
+ }
102047
+ },
101383
102048
  {
101384
102049
  "kind": "method",
101385
102050
  "name": "fieldErrorText",
@@ -101949,7 +102614,7 @@
101949
102614
  "name": "options",
101950
102615
  "default": "{}",
101951
102616
  "type": {
101952
- "text": "{ slot?: string; withReason?: boolean }"
102617
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
101953
102618
  }
101954
102619
  }
101955
102620
  ],
@@ -104791,7 +105456,7 @@
104791
105456
  "name": "options",
104792
105457
  "default": "{}",
104793
105458
  "type": {
104794
- "text": "{ slot?: string; withReason?: boolean }"
105459
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
104795
105460
  }
104796
105461
  }
104797
105462
  ],
@@ -110324,6 +110989,37 @@
110324
110989
  ],
110325
110990
  "description": "`date` as a short date in `locale`: \"Nov 2\" in the current year, else \"Nov 2, 2025\"."
110326
110991
  },
110992
+ {
110993
+ "kind": "function",
110994
+ "name": "formatClockTime",
110995
+ "return": {
110996
+ "type": {
110997
+ "text": "string"
110998
+ }
110999
+ },
111000
+ "parameters": [
111001
+ {
111002
+ "name": "date",
111003
+ "type": {
111004
+ "text": "Date | number"
111005
+ }
111006
+ },
111007
+ {
111008
+ "name": "locale",
111009
+ "type": {
111010
+ "text": "string"
111011
+ }
111012
+ },
111013
+ {
111014
+ "name": "now",
111015
+ "default": "Date.now()",
111016
+ "type": {
111017
+ "text": "number"
111018
+ }
111019
+ }
111020
+ ],
111021
+ "description": "`date` as a clock time in `locale` (\"9:41 AM\"), with the date before it when it is not today\n(\"Nov 2, 9:41 AM\"), for timestamps in a conversation."
111022
+ },
110327
111023
  {
110328
111024
  "kind": "function",
110329
111025
  "name": "formatTime",
@@ -110537,6 +111233,14 @@
110537
111233
  "module": "src/__internal/utils/relative-time.ts"
110538
111234
  }
110539
111235
  },
111236
+ {
111237
+ "kind": "js",
111238
+ "name": "formatClockTime",
111239
+ "declaration": {
111240
+ "name": "formatClockTime",
111241
+ "module": "src/__internal/utils/relative-time.ts"
111242
+ }
111243
+ },
110540
111244
  {
110541
111245
  "kind": "js",
110542
111246
  "name": "formatTime",
@@ -113863,7 +114567,7 @@
113863
114567
  "name": "options",
113864
114568
  "default": "{}",
113865
114569
  "type": {
113866
- "text": "{ slot?: string; withReason?: boolean }"
114570
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
113867
114571
  }
113868
114572
  }
113869
114573
  ],
@@ -117145,7 +117849,7 @@
117145
117849
  "name": "options",
117146
117850
  "default": "{}",
117147
117851
  "type": {
117148
- "text": "{ slot?: string; withReason?: boolean }"
117852
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
117149
117853
  }
117150
117854
  }
117151
117855
  ],
@@ -118678,7 +119382,7 @@
118678
119382
  "name": "options",
118679
119383
  "default": "{}",
118680
119384
  "type": {
118681
- "text": "{ slot?: string; withReason?: boolean }"
119385
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
118682
119386
  }
118683
119387
  }
118684
119388
  ],
@@ -119827,6 +120531,20 @@
119827
120531
  "module": "src/input/BaseField.ts"
119828
120532
  }
119829
120533
  },
120534
+ {
120535
+ "kind": "field",
120536
+ "name": "__narrow",
120537
+ "type": {
120538
+ "text": "boolean"
120539
+ },
120540
+ "privacy": "private",
120541
+ "default": "false",
120542
+ "description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
120543
+ "inheritedFrom": {
120544
+ "name": "BaseField",
120545
+ "module": "src/input/BaseField.ts"
120546
+ }
120547
+ },
119830
120548
  {
119831
120549
  "kind": "field",
119832
120550
  "name": "fieldDescriptionId",
@@ -119852,6 +120570,33 @@
119852
120570
  "module": "src/input/BaseField.ts"
119853
120571
  }
119854
120572
  },
120573
+ {
120574
+ "kind": "field",
120575
+ "name": "__widthObserver",
120576
+ "type": {
120577
+ "text": "ResizeObserver | undefined"
120578
+ },
120579
+ "privacy": "private",
120580
+ "description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
120581
+ "inheritedFrom": {
120582
+ "name": "BaseField",
120583
+ "module": "src/input/BaseField.ts"
120584
+ }
120585
+ },
120586
+ {
120587
+ "kind": "field",
120588
+ "name": "suggestionBadgeIconOnly",
120589
+ "type": {
120590
+ "text": "boolean"
120591
+ },
120592
+ "privacy": "protected",
120593
+ "description": "Whether the Suggested badge always shows just the sparkle, whatever the width. A textarea\nsets it: a label beside it would narrow every line of the text.",
120594
+ "readonly": true,
120595
+ "inheritedFrom": {
120596
+ "name": "BaseField",
120597
+ "module": "src/input/BaseField.ts"
120598
+ }
120599
+ },
119855
120600
  {
119856
120601
  "kind": "method",
119857
120602
  "name": "fieldErrorText",
@@ -120413,7 +121158,7 @@
120413
121158
  "name": "options",
120414
121159
  "default": "{}",
120415
121160
  "type": {
120416
- "text": "{ slot?: string; withReason?: boolean }"
121161
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
120417
121162
  }
120418
121163
  }
120419
121164
  ],
@@ -121363,6 +122108,17 @@
121363
122108
  "attribute": "dismissible",
121364
122109
  "reflects": true
121365
122110
  },
122111
+ {
122112
+ "kind": "field",
122113
+ "name": "iconOnly",
122114
+ "type": {
122115
+ "text": "boolean"
122116
+ },
122117
+ "default": "false",
122118
+ "description": "Shows only the sparkle, for tight spaces such as a narrow field. The label stays the\naccessible name and shows in the tooltip.",
122119
+ "attribute": "icon-only",
122120
+ "reflects": true
122121
+ },
121366
122122
  {
121367
122123
  "kind": "field",
121368
122124
  "name": "strings",
@@ -121458,6 +122214,15 @@
121458
122214
  "default": "false",
121459
122215
  "description": "Adds a button that clears the output in one action.",
121460
122216
  "fieldName": "dismissible"
122217
+ },
122218
+ {
122219
+ "name": "icon-only",
122220
+ "type": {
122221
+ "text": "boolean"
122222
+ },
122223
+ "default": "false",
122224
+ "description": "Shows only the sparkle, for tight spaces such as a narrow field. The label stays the\naccessible name and shows in the tooltip.",
122225
+ "fieldName": "iconOnly"
121461
122226
  }
121462
122227
  ],
121463
122228
  "superclass": {
@@ -123144,7 +123909,7 @@
123144
123909
  "name": "options",
123145
123910
  "default": "{}",
123146
123911
  "type": {
123147
- "text": "{ slot?: string; withReason?: boolean }"
123912
+ "text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
123148
123913
  }
123149
123914
  }
123150
123915
  ],
@@ -123817,11 +124582,23 @@
123817
124582
  {
123818
124583
  "description": "Text color of the person's bubble.",
123819
124584
  "name": "--chat-message-bubble-color"
124585
+ },
124586
+ {
124587
+ "description": "Background of a participant's bubble.",
124588
+ "name": "--chat-message-participant-background"
124589
+ },
124590
+ {
124591
+ "description": "Text color of a participant's bubble.",
124592
+ "name": "--chat-message-participant-color"
123820
124593
  }
123821
124594
  ],
123822
124595
  "cssParts": [
123823
124596
  {
123824
- "description": "The person's text bubble.",
124597
+ "description": "The line above the message with the author, channel and time.",
124598
+ "name": "header"
124599
+ },
124600
+ {
124601
+ "description": "The text bubble of the person or a participant.",
123825
124602
  "name": "bubble"
123826
124603
  },
123827
124604
  {
@@ -123831,6 +124608,10 @@
123831
124608
  {
123832
124609
  "description": "The answer's actions.",
123833
124610
  "name": "actions"
124611
+ },
124612
+ {
124613
+ "description": "The quick replies.",
124614
+ "name": "suggestions"
123834
124615
  }
123835
124616
  ],
123836
124617
  "slots": [
@@ -123847,7 +124628,11 @@
123847
124628
  "name": "avatar"
123848
124629
  },
123849
124630
  {
123850
- "description": "Below everything, such as follow-up suggestions.",
124631
+ "description": "At the end of the line above the message, such as a \"Work note\" `wc-tag`.",
124632
+ "name": "meta"
124633
+ },
124634
+ {
124635
+ "description": "Below everything.",
123851
124636
  "name": "footer"
123852
124637
  }
123853
124638
  ],
@@ -123859,11 +124644,11 @@
123859
124644
  "text": "ChatMessageFrom"
123860
124645
  },
123861
124646
  "default": "'assistant'",
123862
- "description": "Who wrote it: the person (`user`) or the assistant (`assistant`, default).",
124647
+ "description": "Who wrote it: the person (`user`), the assistant (`assistant`, default) or another person (`participant`).",
123863
124648
  "attribute": "from",
123864
124649
  "reflects": true,
123865
124650
  "expandedType": {
123866
- "text": "'user' | 'assistant'"
124651
+ "text": "'user' | 'assistant' | 'participant'"
123867
124652
  }
123868
124653
  },
123869
124654
  {
@@ -123873,9 +124658,29 @@
123873
124658
  "text": "string"
123874
124659
  },
123875
124660
  "default": "''",
123876
- "description": "Name read before the message; defaults to \"You\" or \"Assistant\".",
124661
+ "description": "Name shown above a participant's message and read before every message; defaults to \"You\", \"Assistant\" or \"Participant\".",
123877
124662
  "attribute": "author"
123878
124663
  },
124664
+ {
124665
+ "kind": "field",
124666
+ "name": "datetime",
124667
+ "type": {
124668
+ "text": "string"
124669
+ },
124670
+ "default": "''",
124671
+ "description": "When it was written, as an ISO 8601 date-time; shown as a time above the message.",
124672
+ "attribute": "datetime"
124673
+ },
124674
+ {
124675
+ "kind": "field",
124676
+ "name": "channel",
124677
+ "type": {
124678
+ "text": "string"
124679
+ },
124680
+ "default": "''",
124681
+ "description": "Where it came from, such as \"Teams\"; shown as \"via Teams\" above the message.",
124682
+ "attribute": "channel"
124683
+ },
123879
124684
  {
123880
124685
  "kind": "field",
123881
124686
  "name": "value",
@@ -123971,6 +124776,24 @@
123971
124776
  "description": "Removes copy, Try again and the rating from an answer.",
123972
124777
  "attribute": "hide-actions"
123973
124778
  },
124779
+ {
124780
+ "kind": "field",
124781
+ "name": "suggestions",
124782
+ "type": {
124783
+ "text": "string[]"
124784
+ },
124785
+ "default": "[]",
124786
+ "description": "Quick replies shown as chips under the message once it is complete."
124787
+ },
124788
+ {
124789
+ "kind": "field",
124790
+ "name": "locale",
124791
+ "type": {
124792
+ "text": "string | undefined"
124793
+ },
124794
+ "description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
124795
+ "attribute": "locale"
124796
+ },
123974
124797
  {
123975
124798
  "kind": "field",
123976
124799
  "name": "strings",
@@ -123979,6 +124802,16 @@
123979
124802
  },
123980
124803
  "description": "Per-instance string overrides."
123981
124804
  },
124805
+ {
124806
+ "kind": "field",
124807
+ "name": "_hasMeta",
124808
+ "type": {
124809
+ "text": "boolean"
124810
+ },
124811
+ "privacy": "private",
124812
+ "default": "false",
124813
+ "description": "The `meta` slot has content."
124814
+ },
123982
124815
  {
123983
124816
  "kind": "field",
123984
124817
  "name": "i18n",
@@ -123995,6 +124828,32 @@
123995
124828
  "description": "The name read before the message.",
123996
124829
  "readonly": true
123997
124830
  },
124831
+ {
124832
+ "kind": "method",
124833
+ "name": "_onMetaChange",
124834
+ "privacy": "private",
124835
+ "parameters": [
124836
+ {
124837
+ "name": "event",
124838
+ "type": {
124839
+ "text": "Event"
124840
+ }
124841
+ }
124842
+ ]
124843
+ },
124844
+ {
124845
+ "kind": "method",
124846
+ "name": "_pick",
124847
+ "privacy": "private",
124848
+ "parameters": [
124849
+ {
124850
+ "name": "value",
124851
+ "type": {
124852
+ "text": "string"
124853
+ }
124854
+ }
124855
+ ]
124856
+ },
123998
124857
  {
123999
124858
  "kind": "field",
124000
124859
  "name": "regenerate",
@@ -124027,9 +124886,26 @@
124027
124886
  "kind": "method",
124028
124887
  "name": "renderActions",
124029
124888
  "privacy": "private"
124889
+ },
124890
+ {
124891
+ "kind": "method",
124892
+ "name": "renderHeader",
124893
+ "privacy": "private"
124894
+ },
124895
+ {
124896
+ "kind": "method",
124897
+ "name": "renderSuggestions",
124898
+ "privacy": "private"
124030
124899
  }
124031
124900
  ],
124032
124901
  "events": [
124902
+ {
124903
+ "name": "suggestion-select",
124904
+ "type": {
124905
+ "text": "CustomEvent<ChatMessageSuggestionDetail>"
124906
+ },
124907
+ "description": "The person picked a quick reply."
124908
+ },
124033
124909
  {
124034
124910
  "name": "feedback",
124035
124911
  "type": {
@@ -124052,10 +124928,10 @@
124052
124928
  "text": "ChatMessageFrom"
124053
124929
  },
124054
124930
  "default": "'assistant'",
124055
- "description": "Who wrote it: the person (`user`) or the assistant (`assistant`, default).",
124931
+ "description": "Who wrote it: the person (`user`), the assistant (`assistant`, default) or another person (`participant`).",
124056
124932
  "fieldName": "from",
124057
124933
  "expandedType": {
124058
- "text": "'user' | 'assistant'"
124934
+ "text": "'user' | 'assistant' | 'participant'"
124059
124935
  }
124060
124936
  },
124061
124937
  {
@@ -124064,9 +124940,27 @@
124064
124940
  "text": "string"
124065
124941
  },
124066
124942
  "default": "''",
124067
- "description": "Name read before the message; defaults to \"You\" or \"Assistant\".",
124943
+ "description": "Name shown above a participant's message and read before every message; defaults to \"You\", \"Assistant\" or \"Participant\".",
124068
124944
  "fieldName": "author"
124069
124945
  },
124946
+ {
124947
+ "name": "datetime",
124948
+ "type": {
124949
+ "text": "string"
124950
+ },
124951
+ "default": "''",
124952
+ "description": "When it was written, as an ISO 8601 date-time; shown as a time above the message.",
124953
+ "fieldName": "datetime"
124954
+ },
124955
+ {
124956
+ "name": "channel",
124957
+ "type": {
124958
+ "text": "string"
124959
+ },
124960
+ "default": "''",
124961
+ "description": "Where it came from, such as \"Teams\"; shown as \"via Teams\" above the message.",
124962
+ "fieldName": "channel"
124963
+ },
124070
124964
  {
124071
124965
  "name": "value",
124072
124966
  "type": {
@@ -124141,6 +125035,14 @@
124141
125035
  "default": "false",
124142
125036
  "description": "Removes copy, Try again and the rating from an answer.",
124143
125037
  "fieldName": "hideActions"
125038
+ },
125039
+ {
125040
+ "name": "locale",
125041
+ "type": {
125042
+ "text": "string | undefined"
125043
+ },
125044
+ "description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
125045
+ "fieldName": "locale"
124144
125046
  }
124145
125047
  ],
124146
125048
  "superclass": {
@@ -124149,7 +125051,7 @@
124149
125051
  },
124150
125052
  "tagName": "wc-chat-message",
124151
125053
  "customElement": true,
124152
- "summary": "One turn of a conversation: what the person asked, or the assistant's answer with its steps, drafts and sources.",
125054
+ "summary": "One turn of a conversation: what the person asked, another person's message, or the assistant's answer with its steps, drafts and sources.",
124153
125055
  "rawTag": {
124154
125056
  "name": "chat-message",
124155
125057
  "description": ""
@@ -124203,6 +125105,14 @@
124203
125105
  "name": "ChatMessageFeedbackDetail",
124204
125106
  "module": "./chat-message.js"
124205
125107
  }
125108
+ },
125109
+ {
125110
+ "kind": "js",
125111
+ "name": "ChatMessageSuggestionDetail",
125112
+ "declaration": {
125113
+ "name": "ChatMessageSuggestionDetail",
125114
+ "module": "./chat-message.js"
125115
+ }
124206
125116
  }
124207
125117
  ]
124208
125118
  },
@@ -124236,7 +125146,7 @@
124236
125146
  ],
124237
125147
  "slots": [
124238
125148
  {
124239
- "description": "The `wc-chat-message`s.",
125149
+ "description": "The `wc-chat-message`s and `wc-chat-event`s.",
124240
125150
  "name": ""
124241
125151
  },
124242
125152
  {
@@ -124348,6 +125258,16 @@
124348
125258
  "default": "false",
124349
125259
  "description": "Set while Jump to latest scrolls smoothly to the end."
124350
125260
  },
125261
+ {
125262
+ "kind": "field",
125263
+ "name": "_lastScrollTop",
125264
+ "type": {
125265
+ "text": "number"
125266
+ },
125267
+ "privacy": "private",
125268
+ "default": "0",
125269
+ "description": "The scroll position at the last scroll event, to tell the reader scrolling up from growth."
125270
+ },
124351
125271
  {
124352
125272
  "kind": "field",
124353
125273
  "name": "_settled",
@@ -124497,6 +125417,116 @@
124497
125417
  }
124498
125418
  ]
124499
125419
  },
125420
+ {
125421
+ "kind": "javascript-module",
125422
+ "path": "src/chat-thread/chat-event.ts",
125423
+ "declarations": [
125424
+ {
125425
+ "kind": "class",
125426
+ "description": "",
125427
+ "name": "ChatEvent",
125428
+ "cssParts": [
125429
+ {
125430
+ "description": "The line.",
125431
+ "name": "event"
125432
+ }
125433
+ ],
125434
+ "slots": [
125435
+ {
125436
+ "description": "What happened. Bold the name of who did it with `<strong>`.",
125437
+ "name": ""
125438
+ }
125439
+ ],
125440
+ "members": [
125441
+ {
125442
+ "kind": "field",
125443
+ "name": "icon",
125444
+ "type": {
125445
+ "text": "string"
125446
+ },
125447
+ "default": "''",
125448
+ "description": "Material Symbols name of the glyph before the text, such as `verified`.",
125449
+ "attribute": "icon"
125450
+ },
125451
+ {
125452
+ "kind": "field",
125453
+ "name": "datetime",
125454
+ "type": {
125455
+ "text": "string"
125456
+ },
125457
+ "default": "''",
125458
+ "description": "When it happened, as an ISO 8601 date-time; shown as a time after the text.",
125459
+ "attribute": "datetime"
125460
+ },
125461
+ {
125462
+ "kind": "field",
125463
+ "name": "locale",
125464
+ "type": {
125465
+ "text": "string | undefined"
125466
+ },
125467
+ "description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
125468
+ "attribute": "locale"
125469
+ },
125470
+ {
125471
+ "kind": "field",
125472
+ "name": "i18n",
125473
+ "privacy": "private",
125474
+ "readonly": true,
125475
+ "default": "new I18nController(this)"
125476
+ }
125477
+ ],
125478
+ "attributes": [
125479
+ {
125480
+ "name": "icon",
125481
+ "type": {
125482
+ "text": "string"
125483
+ },
125484
+ "default": "''",
125485
+ "description": "Material Symbols name of the glyph before the text, such as `verified`.",
125486
+ "fieldName": "icon"
125487
+ },
125488
+ {
125489
+ "name": "datetime",
125490
+ "type": {
125491
+ "text": "string"
125492
+ },
125493
+ "default": "''",
125494
+ "description": "When it happened, as an ISO 8601 date-time; shown as a time after the text.",
125495
+ "fieldName": "datetime"
125496
+ },
125497
+ {
125498
+ "name": "locale",
125499
+ "type": {
125500
+ "text": "string | undefined"
125501
+ },
125502
+ "description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
125503
+ "fieldName": "locale"
125504
+ }
125505
+ ],
125506
+ "superclass": {
125507
+ "name": "LitElement",
125508
+ "package": "lit"
125509
+ },
125510
+ "tagName": "wc-chat-event",
125511
+ "customElement": true,
125512
+ "summary": "A line in a conversation for something that happened rather than something said, such as \"Alan Kay confirmed the rollback\".",
125513
+ "rawTag": {
125514
+ "name": "chat-event",
125515
+ "description": ""
125516
+ }
125517
+ }
125518
+ ],
125519
+ "exports": [
125520
+ {
125521
+ "kind": "js",
125522
+ "name": "ChatEvent",
125523
+ "declaration": {
125524
+ "name": "ChatEvent",
125525
+ "module": "src/chat-thread/chat-event.ts"
125526
+ }
125527
+ }
125528
+ ]
125529
+ },
124500
125530
  {
124501
125531
  "kind": "javascript-module",
124502
125532
  "path": "src/chat-thread/index.ts",
@@ -124517,6 +125547,14 @@
124517
125547
  "name": "ChatThreadSuggestionDetail",
124518
125548
  "module": "./chat-thread.js"
124519
125549
  }
125550
+ },
125551
+ {
125552
+ "kind": "js",
125553
+ "name": "ChatEvent",
125554
+ "declaration": {
125555
+ "name": "ChatEvent",
125556
+ "module": "./chat-event.js"
125557
+ }
124520
125558
  }
124521
125559
  ]
124522
125560
  },
@@ -156007,6 +157045,14 @@
156007
157045
  "module": "./chat-message/index.js"
156008
157046
  }
156009
157047
  },
157048
+ {
157049
+ "kind": "js",
157050
+ "name": "ChatMessageSuggestionDetail",
157051
+ "declaration": {
157052
+ "name": "ChatMessageSuggestionDetail",
157053
+ "module": "./chat-message/index.js"
157054
+ }
157055
+ },
156010
157056
  {
156011
157057
  "kind": "js",
156012
157058
  "name": "ChatThread",
@@ -156015,6 +157061,14 @@
156015
157061
  "module": "./chat-thread/index.js"
156016
157062
  }
156017
157063
  },
157064
+ {
157065
+ "kind": "js",
157066
+ "name": "ChatEvent",
157067
+ "declaration": {
157068
+ "name": "ChatEvent",
157069
+ "module": "./chat-thread/index.js"
157070
+ }
157071
+ },
156018
157072
  {
156019
157073
  "kind": "js",
156020
157074
  "name": "ChatThreadSuggestionDetail",