@redvars/peacock 4.1.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseField-BMumJpkW.js → BaseField-D8ByB0l3.js} +40 -4
- package/dist/BaseField-D8ByB0l3.js.map +1 -0
- package/dist/{BaseInput-mWdyYv27.js → BaseInput-xCHvT4AN.js} +3 -3
- package/dist/BaseInput-xCHvT4AN.js.map +1 -0
- package/dist/ai-badge.js +32 -6
- package/dist/ai-badge.js.map +1 -1
- package/dist/ai-summary.js +2 -2
- package/dist/alert.js +2 -2
- package/dist/anchor-nav.js +2 -2
- package/dist/app-shell.js +2 -2
- package/dist/assistant-panel.js +2 -2
- package/dist/assistant-step.js +2 -2
- package/dist/assistant-steps.js +2 -2
- package/dist/avatar-group.js +2 -2
- package/dist/banner.js +2 -2
- package/dist/{base-progress-CvLVSjuy.js → base-progress-DxNgAQtw.js} +2 -2
- package/dist/{base-progress-CvLVSjuy.js.map → base-progress-DxNgAQtw.js.map} +1 -1
- package/dist/bottom-sheet.js +2 -2
- package/dist/breadcrumb.js +2 -2
- package/dist/button.js +11 -5
- package/dist/button.js.map +1 -1
- package/dist/calendar.js +2 -2
- package/dist/{canvas-base-BTQMEVn_.js → canvas-base-DHKf2CmA.js} +2 -2
- package/dist/{canvas-base-BTQMEVn_.js.map → canvas-base-DHKf2CmA.js.map} +1 -1
- package/dist/{cartesian-chart-DM1FC_XT.js → cartesian-chart-G6VX1aKk.js} +2 -2
- package/dist/{cartesian-chart-DM1FC_XT.js.map → cartesian-chart-G6VX1aKk.js.map} +1 -1
- package/dist/{cb-group-base-B6fa4Lll.js → cb-group-base-CZLzCnXK.js} +2 -2
- package/dist/{cb-group-base-B6fa4Lll.js.map → cb-group-base-CZLzCnXK.js.map} +1 -1
- package/dist/cb-group.js +3 -3
- package/dist/cb-rule.js +3 -3
- package/dist/chart-area.js +4 -4
- package/dist/chart-bar.js +4 -4
- package/dist/{chart-base-Dhxuw_Mw.js → chart-base-DREru2P0.js} +2 -2
- package/dist/{chart-base-Dhxuw_Mw.js.map → chart-base-DREru2P0.js.map} +1 -1
- package/dist/chart-doughnut.js +3 -3
- package/dist/chart-line.js +4 -4
- package/dist/chart-pie.js +3 -3
- package/dist/chat-event.js +152 -0
- package/dist/chat-event.js.map +1 -0
- package/dist/chat-message.js +195 -19
- package/dist/chat-message.js.map +1 -1
- package/dist/chat-thread.js +26 -9
- package/dist/chat-thread.js.map +1 -1
- package/dist/checkbox-group.js +4 -4
- package/dist/checkbox.js +4 -4
- package/dist/chip-set.js +3 -3
- package/dist/chip.js +2 -2
- package/dist/circular-progress.js +3 -3
- package/dist/citation.js +2 -2
- package/dist/code-editor.js +4 -4
- package/dist/code-highlighter.js +2 -2
- package/dist/color-field.js +5 -5
- package/dist/color-picker.js +2 -2
- package/dist/command-palette.js +2 -2
- package/dist/comment-composer.js +25 -13
- package/dist/comment-composer.js.map +1 -1
- package/dist/condition-builder.js +3 -3
- package/dist/confirm-dialog.js +2 -2
- package/dist/copy-button.js +2 -2
- package/dist/currency-field.js +5 -5
- package/dist/custom-elements-jsdocs.json +228 -22
- package/dist/custom-elements.json +1255 -110
- package/dist/date-field.js +6 -6
- package/dist/date-picker.js +2 -2
- package/dist/date-range-field.js +6 -6
- package/dist/datetime-field.js +6 -6
- package/dist/dependency-map.js +3 -3
- package/dist/description-item.js +2 -2
- package/dist/description-list.js +2 -2
- package/dist/{diagram-2r11KySs.js → diagram-CHF70xTL.js} +2 -2
- package/dist/{diagram-2r11KySs.js.map → diagram-CHF70xTL.js.map} +1 -1
- package/dist/diagram-controls.js +2 -2
- package/dist/diagram-minimap.js +2 -2
- package/dist/diagram.js +4 -4
- package/dist/diff-viewer.js +2 -2
- package/dist/discussion-activity.js +4 -4
- package/dist/discussion-comment.js +4 -4
- package/dist/{discussion-time-BegaYfhf.js → discussion-time-DqykqvNy.js} +2 -2
- package/dist/{discussion-time-BegaYfhf.js.map → discussion-time-DqykqvNy.js.map} +1 -1
- package/dist/discussion.js +7 -7
- package/dist/{document-editor-BnEugM3E.js → document-editor-Cb9fCxvA.js} +22 -10
- package/dist/{document-editor-BnEugM3E.js.map → document-editor-Cb9fCxvA.js.map} +1 -1
- package/dist/document-editor.js +3 -3
- package/dist/draft-card.js +14 -4
- package/dist/draft-card.js.map +1 -1
- package/dist/dropdown-button.js +3 -2
- package/dist/dropdown-button.js.map +1 -1
- package/dist/erd.js +3 -3
- package/dist/file-upload.js +4 -4
- package/dist/filter-bar.js +2 -2
- package/dist/flow.js +4 -4
- package/dist/form.js +3 -3
- package/dist/{generative-view-BgOcLRXr.js → generative-view-C4fJ2zI7.js} +2 -2
- package/dist/{generative-view-BgOcLRXr.js.map → generative-view-C4fJ2zI7.js.map} +1 -1
- package/dist/generative-view.js +3 -3
- package/dist/html-editor.js +30 -13
- package/dist/html-editor.js.map +1 -1
- package/dist/{i18n-controller-Cp43HjJl.js → i18n-controller-CH4e9sju.js} +2 -2
- package/dist/{i18n-controller-Cp43HjJl.js.map → i18n-controller-CH4e9sju.js.map} +1 -1
- package/dist/icon-button.js +7 -5
- package/dist/icon-button.js.map +1 -1
- package/dist/image.js +2 -2
- package/dist/index.js +21 -20
- package/dist/index.js.map +1 -1
- package/dist/inline-edit.js +2 -2
- package/dist/input.js +4 -4
- package/dist/json-viewer.js +2 -2
- package/dist/kanban.js +2 -2
- package/dist/kbd.js +2 -2
- package/dist/linear-progress.js +3 -3
- package/dist/link-button.js +7 -5
- package/dist/link-button.js.map +1 -1
- package/dist/listbox.js +3 -3
- package/dist/loader-full.js +13 -12
- package/dist/loader-full.js.map +1 -1
- package/dist/loader.js +16 -12
- package/dist/loader.js.map +1 -1
- package/dist/markdown-editor.js +30 -13
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mention-input.js +5 -5
- package/dist/{menu-trigger-controller-DyLpTxM7.js → menu-trigger-controller-CEJq1ugC.js} +11 -14
- package/dist/menu-trigger-controller-CEJq1ugC.js.map +1 -0
- package/dist/modal.js +2 -2
- package/dist/navigation-bar.js +2 -2
- package/dist/navigation-drawer.js +2 -2
- package/dist/navigation-rail.js +2 -2
- package/dist/notification-center.js +3 -3
- package/dist/number-field.js +5 -5
- package/dist/page-header.js +2 -2
- package/dist/pagination.js +2 -2
- package/dist/password-field.js +5 -5
- package/dist/password-rules.js +2 -2
- package/dist/phone-field.js +5 -5
- package/dist/{picker-field-dTlIMAQn.js → picker-field-loXW-xrW.js} +3 -3
- package/dist/{picker-field-dTlIMAQn.js.map → picker-field-loXW-xrW.js.map} +1 -1
- package/dist/pin-input.js +5 -5
- package/dist/presence-indicator.js +2 -2
- package/dist/prompt-input.js +25 -13
- package/dist/prompt-input.js.map +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/radio.js +4 -4
- package/dist/rating.js +4 -4
- package/dist/redvars-loader.js +2 -2
- package/dist/{relative-time-BVQXLuHm.js → relative-time-BNxqvEbg.js} +13 -2
- package/dist/relative-time-BNxqvEbg.js.map +1 -0
- package/dist/relative-time.js +3 -3
- package/dist/resizable-panels.js +2 -2
- package/dist/{rich-text-input-DM_BOzgk.js → rich-text-input-B5j0eqCJ.js} +21 -18
- package/dist/rich-text-input-B5j0eqCJ.js.map +1 -0
- package/dist/{schema-B8g30A_n.js → schema-BJzlGRP1.js} +2 -2
- package/dist/{schema-B8g30A_n.js.map → schema-BJzlGRP1.js.map} +1 -1
- package/dist/search.js +4 -4
- package/dist/select.js +5 -5
- package/dist/side-sheet.js +2 -2
- package/dist/signature-pad.js +4 -4
- package/dist/slider.js +4 -4
- package/dist/snackbar.js +2 -2
- package/dist/sparkline.js +2 -2
- package/dist/split-button.js +109 -21
- package/dist/split-button.js.map +1 -1
- package/dist/src/__internal/ai/suggestion-controller.d.ts +2 -0
- package/dist/src/__internal/i18n/strings.d.ts +6 -1
- package/dist/src/__internal/menu-trigger-controller.d.ts +11 -8
- package/dist/src/__internal/rich-text/rich-text-input.d.ts +6 -1
- package/dist/src/__internal/utils/relative-time.d.ts +5 -0
- package/dist/src/ai-badge/ai-badge.d.ts +8 -0
- package/dist/src/button/button/button.d.ts +4 -0
- package/dist/src/chat-message/chat-message.d.ts +51 -10
- package/dist/src/chat-message/index.d.ts +1 -1
- package/dist/src/chat-thread/chat-event.d.ts +37 -0
- package/dist/src/chat-thread/chat-thread.d.ts +7 -4
- package/dist/src/chat-thread/index.d.ts +1 -0
- package/dist/src/html-editor/html-editor.d.ts +5 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/src/input/BaseField.d.ts +12 -1
- package/dist/src/input/BaseInput.d.ts +1 -0
- package/dist/src/markdown-editor/markdown-editor.d.ts +5 -0
- package/dist/src/split-button/split-button.d.ts +7 -2
- package/dist/src/textarea/textarea.d.ts +2 -0
- package/dist/stat.js +2 -2
- package/dist/status-indicator.js +2 -2
- package/dist/step.js +2 -2
- package/dist/stepper.js +2 -2
- package/dist/{strings-BJPuhKJk.js → strings-o6v6Hrmn.js} +7 -2
- package/dist/strings-o6v6Hrmn.js.map +1 -0
- package/dist/{suggestion-controller-CW17adxd.js → suggestion-controller-7YRQqkaI.js} +3 -1
- package/dist/{suggestion-controller-CW17adxd.js.map → suggestion-controller-7YRQqkaI.js.map} +1 -1
- package/dist/svg.js +2 -2
- package/dist/switch.js +4 -4
- package/dist/table.js +50 -11
- package/dist/table.js.map +1 -1
- package/dist/textarea.js +10 -5
- package/dist/textarea.js.map +1 -1
- package/dist/time-field.js +6 -6
- package/dist/time-picker.js +2 -2
- package/dist/timeline-item.js +2 -2
- package/dist/timeline.js +2 -2
- package/dist/{toggle-base-BlaHalfS.js → toggle-base-BSzBnLZN.js} +2 -2
- package/dist/{toggle-base-BlaHalfS.js.map → toggle-base-BSzBnLZN.js.map} +1 -1
- package/dist/tour.js +2 -2
- package/dist/transfer-list.js +4 -4
- package/dist/tree-chart.js +3 -3
- package/dist/tree-item.js +2 -2
- package/dist/tree.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typing-indicator.js +2 -2
- package/dist/url-field.js +5 -5
- package/dist/user-menu.js +3 -3
- package/dist/virtual-list.js +2 -2
- package/dist/workflow-timeline.js +2 -2
- package/dist/workflow.js +3 -3
- package/dist/workspace-switcher.js +3 -3
- package/package.json +1 -1
- package/src/__internal/ai/suggestion-controller.ts +3 -1
- package/src/__internal/i18n/strings.ts +6 -1
- package/src/__internal/menu-trigger-controller.ts +11 -15
- package/src/__internal/rich-text/editor-chrome.scss +27 -10
- package/src/__internal/rich-text/rich-text-input.ts +17 -16
- package/src/__internal/utils/relative-time.ts +20 -0
- package/src/ai-badge/ai-badge.scss +8 -0
- package/src/ai-badge/ai-badge.ts +21 -4
- package/src/button/button/button-base.scss +9 -2
- package/src/button/button/button-layers.scss +3 -1
- package/src/button/button/button.ts +4 -0
- package/src/chat-message/chat-message.scss +72 -0
- package/src/chat-message/chat-message.ts +137 -18
- package/src/chat-message/index.ts +1 -0
- package/src/chat-thread/chat-event.scss +36 -0
- package/src/chat-thread/chat-event.ts +79 -0
- package/src/chat-thread/chat-thread.scss +4 -1
- package/src/chat-thread/chat-thread.ts +22 -6
- package/src/chat-thread/index.ts +1 -0
- package/src/draft-card/draft-card.scss +16 -2
- package/src/dropdown-button/dropdown-button.ts +2 -1
- package/src/html-editor/html-editor.ts +5 -0
- package/src/index.ts +2 -1
- package/src/input/BaseField.ts +42 -2
- package/src/input/BaseInput.ts +1 -1
- package/src/loader.ts +4 -0
- package/src/markdown-editor/markdown-editor.ts +5 -0
- package/src/split-button/split-button-colors.scss +9 -0
- package/src/split-button/split-button-sizes.scss +32 -5
- package/src/split-button/split-button.scss +61 -8
- package/src/split-button/split-button.ts +15 -8
- package/src/table/table.scss +57 -9
- package/src/table/table.ts +3 -1
- package/src/textarea/textarea.ts +7 -0
- package/dist/BaseField-BMumJpkW.js.map +0 -1
- package/dist/BaseInput-mWdyYv27.js.map +0 -1
- package/dist/menu-trigger-controller-DyLpTxM7.js.map +0 -1
- package/dist/relative-time-BVQXLuHm.js.map +0 -1
- package/dist/rich-text-input-DM_BOzgk.js.map +0 -1
- package/dist/strings-BJPuhKJk.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', // ── 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
|
|
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,
|
|
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": "
|
|
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'
|
|
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'
|
|
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
|
],
|
|
@@ -49375,6 +49835,16 @@
|
|
|
49375
49835
|
"description": "Hides the fixed toolbar; formatting stays available from the selection bubble, `/` and shortcuts.",
|
|
49376
49836
|
"attribute": "hide-toolbar"
|
|
49377
49837
|
},
|
|
49838
|
+
{
|
|
49839
|
+
"kind": "field",
|
|
49840
|
+
"name": "showReadonlyBadge",
|
|
49841
|
+
"type": {
|
|
49842
|
+
"text": "boolean"
|
|
49843
|
+
},
|
|
49844
|
+
"default": "false",
|
|
49845
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
49846
|
+
"attribute": "show-readonly-badge"
|
|
49847
|
+
},
|
|
49378
49848
|
{
|
|
49379
49849
|
"kind": "field",
|
|
49380
49850
|
"name": "maxlength",
|
|
@@ -49978,12 +50448,8 @@
|
|
|
49978
50448
|
{
|
|
49979
50449
|
"kind": "method",
|
|
49980
50450
|
"name": "renderToolbar",
|
|
49981
|
-
"privacy": "private"
|
|
49982
|
-
|
|
49983
|
-
{
|
|
49984
|
-
"kind": "method",
|
|
49985
|
-
"name": "renderStateTag",
|
|
49986
|
-
"privacy": "protected"
|
|
50451
|
+
"privacy": "private",
|
|
50452
|
+
"description": "The toolbar. A read-only or disabled editor shows no formatting tools, which could do\nnothing: only View source, and the \"Read only\" badge with `show-readonly-badge`."
|
|
49987
50453
|
},
|
|
49988
50454
|
{
|
|
49989
50455
|
"kind": "method",
|
|
@@ -50433,7 +50899,7 @@
|
|
|
50433
50899
|
"name": "options",
|
|
50434
50900
|
"default": "{}",
|
|
50435
50901
|
"type": {
|
|
50436
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
50902
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
50437
50903
|
}
|
|
50438
50904
|
}
|
|
50439
50905
|
],
|
|
@@ -50792,6 +51258,15 @@
|
|
|
50792
51258
|
"description": "Hides the fixed toolbar; formatting stays available from the selection bubble, `/` and shortcuts.",
|
|
50793
51259
|
"fieldName": "hideToolbar"
|
|
50794
51260
|
},
|
|
51261
|
+
{
|
|
51262
|
+
"name": "show-readonly-badge",
|
|
51263
|
+
"type": {
|
|
51264
|
+
"text": "boolean"
|
|
51265
|
+
},
|
|
51266
|
+
"default": "false",
|
|
51267
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
51268
|
+
"fieldName": "showReadonlyBadge"
|
|
51269
|
+
},
|
|
50795
51270
|
{
|
|
50796
51271
|
"name": "maxlength",
|
|
50797
51272
|
"type": {
|
|
@@ -51230,6 +51705,20 @@
|
|
|
51230
51705
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
51231
51706
|
}
|
|
51232
51707
|
},
|
|
51708
|
+
{
|
|
51709
|
+
"kind": "field",
|
|
51710
|
+
"name": "showReadonlyBadge",
|
|
51711
|
+
"type": {
|
|
51712
|
+
"text": "boolean"
|
|
51713
|
+
},
|
|
51714
|
+
"default": "false",
|
|
51715
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
51716
|
+
"attribute": "show-readonly-badge",
|
|
51717
|
+
"inheritedFrom": {
|
|
51718
|
+
"name": "RichTextInput",
|
|
51719
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
51720
|
+
}
|
|
51721
|
+
},
|
|
51233
51722
|
{
|
|
51234
51723
|
"kind": "field",
|
|
51235
51724
|
"name": "maxlength",
|
|
@@ -51956,15 +52445,7 @@
|
|
|
51956
52445
|
"kind": "method",
|
|
51957
52446
|
"name": "renderToolbar",
|
|
51958
52447
|
"privacy": "private",
|
|
51959
|
-
"
|
|
51960
|
-
"name": "RichTextInput",
|
|
51961
|
-
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
51962
|
-
}
|
|
51963
|
-
},
|
|
51964
|
-
{
|
|
51965
|
-
"kind": "method",
|
|
51966
|
-
"name": "renderStateTag",
|
|
51967
|
-
"privacy": "protected",
|
|
52448
|
+
"description": "The toolbar. A read-only or disabled editor shows no formatting tools, which could do\nnothing: only View source, and the \"Read only\" badge with `show-readonly-badge`.",
|
|
51968
52449
|
"inheritedFrom": {
|
|
51969
52450
|
"name": "RichTextInput",
|
|
51970
52451
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
@@ -52438,7 +52919,7 @@
|
|
|
52438
52919
|
"name": "options",
|
|
52439
52920
|
"default": "{}",
|
|
52440
52921
|
"type": {
|
|
52441
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
52922
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
52442
52923
|
}
|
|
52443
52924
|
}
|
|
52444
52925
|
],
|
|
@@ -52876,6 +53357,19 @@
|
|
|
52876
53357
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
52877
53358
|
}
|
|
52878
53359
|
},
|
|
53360
|
+
{
|
|
53361
|
+
"name": "show-readonly-badge",
|
|
53362
|
+
"type": {
|
|
53363
|
+
"text": "boolean"
|
|
53364
|
+
},
|
|
53365
|
+
"default": "false",
|
|
53366
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
53367
|
+
"fieldName": "showReadonlyBadge",
|
|
53368
|
+
"inheritedFrom": {
|
|
53369
|
+
"name": "RichTextInput",
|
|
53370
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
53371
|
+
}
|
|
53372
|
+
},
|
|
52879
53373
|
{
|
|
52880
53374
|
"name": "maxlength",
|
|
52881
53375
|
"type": {
|
|
@@ -53353,6 +53847,20 @@
|
|
|
53353
53847
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
53354
53848
|
}
|
|
53355
53849
|
},
|
|
53850
|
+
{
|
|
53851
|
+
"kind": "field",
|
|
53852
|
+
"name": "showReadonlyBadge",
|
|
53853
|
+
"type": {
|
|
53854
|
+
"text": "boolean"
|
|
53855
|
+
},
|
|
53856
|
+
"default": "false",
|
|
53857
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
53858
|
+
"attribute": "show-readonly-badge",
|
|
53859
|
+
"inheritedFrom": {
|
|
53860
|
+
"name": "RichTextInput",
|
|
53861
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
53862
|
+
}
|
|
53863
|
+
},
|
|
53356
53864
|
{
|
|
53357
53865
|
"kind": "field",
|
|
53358
53866
|
"name": "maxlength",
|
|
@@ -54079,15 +54587,7 @@
|
|
|
54079
54587
|
"kind": "method",
|
|
54080
54588
|
"name": "renderToolbar",
|
|
54081
54589
|
"privacy": "private",
|
|
54082
|
-
"
|
|
54083
|
-
"name": "RichTextInput",
|
|
54084
|
-
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
54085
|
-
}
|
|
54086
|
-
},
|
|
54087
|
-
{
|
|
54088
|
-
"kind": "method",
|
|
54089
|
-
"name": "renderStateTag",
|
|
54090
|
-
"privacy": "protected",
|
|
54590
|
+
"description": "The toolbar. A read-only or disabled editor shows no formatting tools, which could do\nnothing: only View source, and the \"Read only\" badge with `show-readonly-badge`.",
|
|
54091
54591
|
"inheritedFrom": {
|
|
54092
54592
|
"name": "RichTextInput",
|
|
54093
54593
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
@@ -54561,7 +55061,7 @@
|
|
|
54561
55061
|
"name": "options",
|
|
54562
55062
|
"default": "{}",
|
|
54563
55063
|
"type": {
|
|
54564
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
55064
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
54565
55065
|
}
|
|
54566
55066
|
}
|
|
54567
55067
|
],
|
|
@@ -54999,6 +55499,19 @@
|
|
|
54999
55499
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
55000
55500
|
}
|
|
55001
55501
|
},
|
|
55502
|
+
{
|
|
55503
|
+
"name": "show-readonly-badge",
|
|
55504
|
+
"type": {
|
|
55505
|
+
"text": "boolean"
|
|
55506
|
+
},
|
|
55507
|
+
"default": "false",
|
|
55508
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
55509
|
+
"fieldName": "showReadonlyBadge",
|
|
55510
|
+
"inheritedFrom": {
|
|
55511
|
+
"name": "RichTextInput",
|
|
55512
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
55513
|
+
}
|
|
55514
|
+
},
|
|
55002
55515
|
{
|
|
55003
55516
|
"name": "maxlength",
|
|
55004
55517
|
"type": {
|
|
@@ -60461,7 +60974,7 @@
|
|
|
60461
60974
|
"name": "options",
|
|
60462
60975
|
"default": "{}",
|
|
60463
60976
|
"type": {
|
|
60464
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
60977
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
60465
60978
|
}
|
|
60466
60979
|
}
|
|
60467
60980
|
],
|
|
@@ -61834,6 +62347,20 @@
|
|
|
61834
62347
|
"module": "src/input/BaseField.ts"
|
|
61835
62348
|
}
|
|
61836
62349
|
},
|
|
62350
|
+
{
|
|
62351
|
+
"kind": "field",
|
|
62352
|
+
"name": "__narrow",
|
|
62353
|
+
"type": {
|
|
62354
|
+
"text": "boolean"
|
|
62355
|
+
},
|
|
62356
|
+
"privacy": "private",
|
|
62357
|
+
"default": "false",
|
|
62358
|
+
"description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
|
|
62359
|
+
"inheritedFrom": {
|
|
62360
|
+
"name": "BaseField",
|
|
62361
|
+
"module": "src/input/BaseField.ts"
|
|
62362
|
+
}
|
|
62363
|
+
},
|
|
61837
62364
|
{
|
|
61838
62365
|
"kind": "field",
|
|
61839
62366
|
"name": "fieldDescriptionId",
|
|
@@ -61859,6 +62386,33 @@
|
|
|
61859
62386
|
"module": "src/input/BaseField.ts"
|
|
61860
62387
|
}
|
|
61861
62388
|
},
|
|
62389
|
+
{
|
|
62390
|
+
"kind": "field",
|
|
62391
|
+
"name": "__widthObserver",
|
|
62392
|
+
"type": {
|
|
62393
|
+
"text": "ResizeObserver | undefined"
|
|
62394
|
+
},
|
|
62395
|
+
"privacy": "private",
|
|
62396
|
+
"description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
|
|
62397
|
+
"inheritedFrom": {
|
|
62398
|
+
"name": "BaseField",
|
|
62399
|
+
"module": "src/input/BaseField.ts"
|
|
62400
|
+
}
|
|
62401
|
+
},
|
|
62402
|
+
{
|
|
62403
|
+
"kind": "field",
|
|
62404
|
+
"name": "suggestionBadgeIconOnly",
|
|
62405
|
+
"type": {
|
|
62406
|
+
"text": "boolean"
|
|
62407
|
+
},
|
|
62408
|
+
"privacy": "protected",
|
|
62409
|
+
"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.",
|
|
62410
|
+
"readonly": true,
|
|
62411
|
+
"inheritedFrom": {
|
|
62412
|
+
"name": "BaseField",
|
|
62413
|
+
"module": "src/input/BaseField.ts"
|
|
62414
|
+
}
|
|
62415
|
+
},
|
|
61862
62416
|
{
|
|
61863
62417
|
"kind": "method",
|
|
61864
62418
|
"name": "fieldErrorText",
|
|
@@ -62438,7 +62992,7 @@
|
|
|
62438
62992
|
"name": "options",
|
|
62439
62993
|
"default": "{}",
|
|
62440
62994
|
"type": {
|
|
62441
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
62995
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
62442
62996
|
}
|
|
62443
62997
|
}
|
|
62444
62998
|
],
|
|
@@ -79683,7 +80237,7 @@
|
|
|
79683
80237
|
"name": "options",
|
|
79684
80238
|
"default": "{}",
|
|
79685
80239
|
"type": {
|
|
79686
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
80240
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
79687
80241
|
}
|
|
79688
80242
|
}
|
|
79689
80243
|
],
|
|
@@ -83407,6 +83961,20 @@
|
|
|
83407
83961
|
"module": "src/input/BaseField.ts"
|
|
83408
83962
|
}
|
|
83409
83963
|
},
|
|
83964
|
+
{
|
|
83965
|
+
"kind": "field",
|
|
83966
|
+
"name": "__narrow",
|
|
83967
|
+
"type": {
|
|
83968
|
+
"text": "boolean"
|
|
83969
|
+
},
|
|
83970
|
+
"privacy": "private",
|
|
83971
|
+
"default": "false",
|
|
83972
|
+
"description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
|
|
83973
|
+
"inheritedFrom": {
|
|
83974
|
+
"name": "BaseField",
|
|
83975
|
+
"module": "src/input/BaseField.ts"
|
|
83976
|
+
}
|
|
83977
|
+
},
|
|
83410
83978
|
{
|
|
83411
83979
|
"kind": "field",
|
|
83412
83980
|
"name": "fieldDescriptionId",
|
|
@@ -83432,6 +84000,33 @@
|
|
|
83432
84000
|
"module": "src/input/BaseField.ts"
|
|
83433
84001
|
}
|
|
83434
84002
|
},
|
|
84003
|
+
{
|
|
84004
|
+
"kind": "field",
|
|
84005
|
+
"name": "__widthObserver",
|
|
84006
|
+
"type": {
|
|
84007
|
+
"text": "ResizeObserver | undefined"
|
|
84008
|
+
},
|
|
84009
|
+
"privacy": "private",
|
|
84010
|
+
"description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
|
|
84011
|
+
"inheritedFrom": {
|
|
84012
|
+
"name": "BaseField",
|
|
84013
|
+
"module": "src/input/BaseField.ts"
|
|
84014
|
+
}
|
|
84015
|
+
},
|
|
84016
|
+
{
|
|
84017
|
+
"kind": "field",
|
|
84018
|
+
"name": "suggestionBadgeIconOnly",
|
|
84019
|
+
"type": {
|
|
84020
|
+
"text": "boolean"
|
|
84021
|
+
},
|
|
84022
|
+
"privacy": "protected",
|
|
84023
|
+
"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.",
|
|
84024
|
+
"readonly": true,
|
|
84025
|
+
"inheritedFrom": {
|
|
84026
|
+
"name": "BaseField",
|
|
84027
|
+
"module": "src/input/BaseField.ts"
|
|
84028
|
+
}
|
|
84029
|
+
},
|
|
83435
84030
|
{
|
|
83436
84031
|
"kind": "method",
|
|
83437
84032
|
"name": "fieldErrorText",
|
|
@@ -83970,7 +84565,7 @@
|
|
|
83970
84565
|
"name": "options",
|
|
83971
84566
|
"default": "{}",
|
|
83972
84567
|
"type": {
|
|
83973
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
84568
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
83974
84569
|
}
|
|
83975
84570
|
}
|
|
83976
84571
|
],
|
|
@@ -85225,7 +85820,7 @@
|
|
|
85225
85820
|
"name": "options",
|
|
85226
85821
|
"default": "{}",
|
|
85227
85822
|
"type": {
|
|
85228
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
85823
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
85229
85824
|
}
|
|
85230
85825
|
}
|
|
85231
85826
|
],
|
|
@@ -90850,7 +91445,7 @@
|
|
|
90850
91445
|
"name": "options",
|
|
90851
91446
|
"default": "{}",
|
|
90852
91447
|
"type": {
|
|
90853
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
91448
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
90854
91449
|
}
|
|
90855
91450
|
}
|
|
90856
91451
|
],
|
|
@@ -91852,6 +92447,20 @@
|
|
|
91852
92447
|
"module": "src/input/BaseField.ts"
|
|
91853
92448
|
}
|
|
91854
92449
|
},
|
|
92450
|
+
{
|
|
92451
|
+
"kind": "field",
|
|
92452
|
+
"name": "__narrow",
|
|
92453
|
+
"type": {
|
|
92454
|
+
"text": "boolean"
|
|
92455
|
+
},
|
|
92456
|
+
"privacy": "private",
|
|
92457
|
+
"default": "false",
|
|
92458
|
+
"description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
|
|
92459
|
+
"inheritedFrom": {
|
|
92460
|
+
"name": "BaseField",
|
|
92461
|
+
"module": "src/input/BaseField.ts"
|
|
92462
|
+
}
|
|
92463
|
+
},
|
|
91855
92464
|
{
|
|
91856
92465
|
"kind": "field",
|
|
91857
92466
|
"name": "fieldDescriptionId",
|
|
@@ -91877,6 +92486,33 @@
|
|
|
91877
92486
|
"module": "src/input/BaseField.ts"
|
|
91878
92487
|
}
|
|
91879
92488
|
},
|
|
92489
|
+
{
|
|
92490
|
+
"kind": "field",
|
|
92491
|
+
"name": "__widthObserver",
|
|
92492
|
+
"type": {
|
|
92493
|
+
"text": "ResizeObserver | undefined"
|
|
92494
|
+
},
|
|
92495
|
+
"privacy": "private",
|
|
92496
|
+
"description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
|
|
92497
|
+
"inheritedFrom": {
|
|
92498
|
+
"name": "BaseField",
|
|
92499
|
+
"module": "src/input/BaseField.ts"
|
|
92500
|
+
}
|
|
92501
|
+
},
|
|
92502
|
+
{
|
|
92503
|
+
"kind": "field",
|
|
92504
|
+
"name": "suggestionBadgeIconOnly",
|
|
92505
|
+
"type": {
|
|
92506
|
+
"text": "boolean"
|
|
92507
|
+
},
|
|
92508
|
+
"privacy": "protected",
|
|
92509
|
+
"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.",
|
|
92510
|
+
"readonly": true,
|
|
92511
|
+
"inheritedFrom": {
|
|
92512
|
+
"name": "BaseField",
|
|
92513
|
+
"module": "src/input/BaseField.ts"
|
|
92514
|
+
}
|
|
92515
|
+
},
|
|
91880
92516
|
{
|
|
91881
92517
|
"kind": "method",
|
|
91882
92518
|
"name": "fieldErrorText",
|
|
@@ -92446,7 +93082,7 @@
|
|
|
92446
93082
|
"name": "options",
|
|
92447
93083
|
"default": "{}",
|
|
92448
93084
|
"type": {
|
|
92449
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
93085
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
92450
93086
|
}
|
|
92451
93087
|
}
|
|
92452
93088
|
],
|
|
@@ -94042,7 +94678,7 @@
|
|
|
94042
94678
|
"name": "options",
|
|
94043
94679
|
"default": "{}",
|
|
94044
94680
|
"type": {
|
|
94045
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
94681
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
94046
94682
|
}
|
|
94047
94683
|
}
|
|
94048
94684
|
],
|
|
@@ -97280,7 +97916,7 @@
|
|
|
97280
97916
|
"name": "options",
|
|
97281
97917
|
"default": "{}",
|
|
97282
97918
|
"type": {
|
|
97283
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
97919
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
97284
97920
|
}
|
|
97285
97921
|
}
|
|
97286
97922
|
],
|
|
@@ -99388,6 +100024,20 @@
|
|
|
99388
100024
|
"module": "src/input/BaseField.ts"
|
|
99389
100025
|
}
|
|
99390
100026
|
},
|
|
100027
|
+
{
|
|
100028
|
+
"kind": "field",
|
|
100029
|
+
"name": "__narrow",
|
|
100030
|
+
"type": {
|
|
100031
|
+
"text": "boolean"
|
|
100032
|
+
},
|
|
100033
|
+
"privacy": "private",
|
|
100034
|
+
"default": "false",
|
|
100035
|
+
"description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
|
|
100036
|
+
"inheritedFrom": {
|
|
100037
|
+
"name": "BaseField",
|
|
100038
|
+
"module": "src/input/BaseField.ts"
|
|
100039
|
+
}
|
|
100040
|
+
},
|
|
99391
100041
|
{
|
|
99392
100042
|
"kind": "field",
|
|
99393
100043
|
"name": "fieldDescriptionId",
|
|
@@ -99413,6 +100063,33 @@
|
|
|
99413
100063
|
"module": "src/input/BaseField.ts"
|
|
99414
100064
|
}
|
|
99415
100065
|
},
|
|
100066
|
+
{
|
|
100067
|
+
"kind": "field",
|
|
100068
|
+
"name": "__widthObserver",
|
|
100069
|
+
"type": {
|
|
100070
|
+
"text": "ResizeObserver | undefined"
|
|
100071
|
+
},
|
|
100072
|
+
"privacy": "private",
|
|
100073
|
+
"description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
|
|
100074
|
+
"inheritedFrom": {
|
|
100075
|
+
"name": "BaseField",
|
|
100076
|
+
"module": "src/input/BaseField.ts"
|
|
100077
|
+
}
|
|
100078
|
+
},
|
|
100079
|
+
{
|
|
100080
|
+
"kind": "field",
|
|
100081
|
+
"name": "suggestionBadgeIconOnly",
|
|
100082
|
+
"type": {
|
|
100083
|
+
"text": "boolean"
|
|
100084
|
+
},
|
|
100085
|
+
"privacy": "protected",
|
|
100086
|
+
"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.",
|
|
100087
|
+
"readonly": true,
|
|
100088
|
+
"inheritedFrom": {
|
|
100089
|
+
"name": "BaseField",
|
|
100090
|
+
"module": "src/input/BaseField.ts"
|
|
100091
|
+
}
|
|
100092
|
+
},
|
|
99416
100093
|
{
|
|
99417
100094
|
"kind": "method",
|
|
99418
100095
|
"name": "fieldErrorText",
|
|
@@ -99982,7 +100659,7 @@
|
|
|
99982
100659
|
"name": "options",
|
|
99983
100660
|
"default": "{}",
|
|
99984
100661
|
"type": {
|
|
99985
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
100662
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
99986
100663
|
}
|
|
99987
100664
|
}
|
|
99988
100665
|
],
|
|
@@ -101355,6 +102032,20 @@
|
|
|
101355
102032
|
"module": "src/input/BaseField.ts"
|
|
101356
102033
|
}
|
|
101357
102034
|
},
|
|
102035
|
+
{
|
|
102036
|
+
"kind": "field",
|
|
102037
|
+
"name": "__narrow",
|
|
102038
|
+
"type": {
|
|
102039
|
+
"text": "boolean"
|
|
102040
|
+
},
|
|
102041
|
+
"privacy": "private",
|
|
102042
|
+
"default": "false",
|
|
102043
|
+
"description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
|
|
102044
|
+
"inheritedFrom": {
|
|
102045
|
+
"name": "BaseField",
|
|
102046
|
+
"module": "src/input/BaseField.ts"
|
|
102047
|
+
}
|
|
102048
|
+
},
|
|
101358
102049
|
{
|
|
101359
102050
|
"kind": "field",
|
|
101360
102051
|
"name": "fieldDescriptionId",
|
|
@@ -101380,6 +102071,33 @@
|
|
|
101380
102071
|
"module": "src/input/BaseField.ts"
|
|
101381
102072
|
}
|
|
101382
102073
|
},
|
|
102074
|
+
{
|
|
102075
|
+
"kind": "field",
|
|
102076
|
+
"name": "__widthObserver",
|
|
102077
|
+
"type": {
|
|
102078
|
+
"text": "ResizeObserver | undefined"
|
|
102079
|
+
},
|
|
102080
|
+
"privacy": "private",
|
|
102081
|
+
"description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
|
|
102082
|
+
"inheritedFrom": {
|
|
102083
|
+
"name": "BaseField",
|
|
102084
|
+
"module": "src/input/BaseField.ts"
|
|
102085
|
+
}
|
|
102086
|
+
},
|
|
102087
|
+
{
|
|
102088
|
+
"kind": "field",
|
|
102089
|
+
"name": "suggestionBadgeIconOnly",
|
|
102090
|
+
"type": {
|
|
102091
|
+
"text": "boolean"
|
|
102092
|
+
},
|
|
102093
|
+
"privacy": "protected",
|
|
102094
|
+
"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.",
|
|
102095
|
+
"readonly": true,
|
|
102096
|
+
"inheritedFrom": {
|
|
102097
|
+
"name": "BaseField",
|
|
102098
|
+
"module": "src/input/BaseField.ts"
|
|
102099
|
+
}
|
|
102100
|
+
},
|
|
101383
102101
|
{
|
|
101384
102102
|
"kind": "method",
|
|
101385
102103
|
"name": "fieldErrorText",
|
|
@@ -101949,7 +102667,7 @@
|
|
|
101949
102667
|
"name": "options",
|
|
101950
102668
|
"default": "{}",
|
|
101951
102669
|
"type": {
|
|
101952
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
102670
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
101953
102671
|
}
|
|
101954
102672
|
}
|
|
101955
102673
|
],
|
|
@@ -104791,7 +105509,7 @@
|
|
|
104791
105509
|
"name": "options",
|
|
104792
105510
|
"default": "{}",
|
|
104793
105511
|
"type": {
|
|
104794
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
105512
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
104795
105513
|
}
|
|
104796
105514
|
}
|
|
104797
105515
|
],
|
|
@@ -110324,6 +111042,37 @@
|
|
|
110324
111042
|
],
|
|
110325
111043
|
"description": "`date` as a short date in `locale`: \"Nov 2\" in the current year, else \"Nov 2, 2025\"."
|
|
110326
111044
|
},
|
|
111045
|
+
{
|
|
111046
|
+
"kind": "function",
|
|
111047
|
+
"name": "formatClockTime",
|
|
111048
|
+
"return": {
|
|
111049
|
+
"type": {
|
|
111050
|
+
"text": "string"
|
|
111051
|
+
}
|
|
111052
|
+
},
|
|
111053
|
+
"parameters": [
|
|
111054
|
+
{
|
|
111055
|
+
"name": "date",
|
|
111056
|
+
"type": {
|
|
111057
|
+
"text": "Date | number"
|
|
111058
|
+
}
|
|
111059
|
+
},
|
|
111060
|
+
{
|
|
111061
|
+
"name": "locale",
|
|
111062
|
+
"type": {
|
|
111063
|
+
"text": "string"
|
|
111064
|
+
}
|
|
111065
|
+
},
|
|
111066
|
+
{
|
|
111067
|
+
"name": "now",
|
|
111068
|
+
"default": "Date.now()",
|
|
111069
|
+
"type": {
|
|
111070
|
+
"text": "number"
|
|
111071
|
+
}
|
|
111072
|
+
}
|
|
111073
|
+
],
|
|
111074
|
+
"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."
|
|
111075
|
+
},
|
|
110327
111076
|
{
|
|
110328
111077
|
"kind": "function",
|
|
110329
111078
|
"name": "formatTime",
|
|
@@ -110537,6 +111286,14 @@
|
|
|
110537
111286
|
"module": "src/__internal/utils/relative-time.ts"
|
|
110538
111287
|
}
|
|
110539
111288
|
},
|
|
111289
|
+
{
|
|
111290
|
+
"kind": "js",
|
|
111291
|
+
"name": "formatClockTime",
|
|
111292
|
+
"declaration": {
|
|
111293
|
+
"name": "formatClockTime",
|
|
111294
|
+
"module": "src/__internal/utils/relative-time.ts"
|
|
111295
|
+
}
|
|
111296
|
+
},
|
|
110540
111297
|
{
|
|
110541
111298
|
"kind": "js",
|
|
110542
111299
|
"name": "formatTime",
|
|
@@ -112721,6 +113478,20 @@
|
|
|
112721
113478
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
112722
113479
|
}
|
|
112723
113480
|
},
|
|
113481
|
+
{
|
|
113482
|
+
"kind": "field",
|
|
113483
|
+
"name": "showReadonlyBadge",
|
|
113484
|
+
"type": {
|
|
113485
|
+
"text": "boolean"
|
|
113486
|
+
},
|
|
113487
|
+
"default": "false",
|
|
113488
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
113489
|
+
"attribute": "show-readonly-badge",
|
|
113490
|
+
"inheritedFrom": {
|
|
113491
|
+
"name": "RichTextInput",
|
|
113492
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
113493
|
+
}
|
|
113494
|
+
},
|
|
112724
113495
|
{
|
|
112725
113496
|
"kind": "field",
|
|
112726
113497
|
"name": "maxlength",
|
|
@@ -113381,15 +114152,7 @@
|
|
|
113381
114152
|
"kind": "method",
|
|
113382
114153
|
"name": "renderToolbar",
|
|
113383
114154
|
"privacy": "private",
|
|
113384
|
-
"
|
|
113385
|
-
"name": "RichTextInput",
|
|
113386
|
-
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
113387
|
-
}
|
|
113388
|
-
},
|
|
113389
|
-
{
|
|
113390
|
-
"kind": "method",
|
|
113391
|
-
"name": "renderStateTag",
|
|
113392
|
-
"privacy": "protected",
|
|
114155
|
+
"description": "The toolbar. A read-only or disabled editor shows no formatting tools, which could do\nnothing: only View source, and the \"Read only\" badge with `show-readonly-badge`.",
|
|
113393
114156
|
"inheritedFrom": {
|
|
113394
114157
|
"name": "RichTextInput",
|
|
113395
114158
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
@@ -113863,7 +114626,7 @@
|
|
|
113863
114626
|
"name": "options",
|
|
113864
114627
|
"default": "{}",
|
|
113865
114628
|
"type": {
|
|
113866
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
114629
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
113867
114630
|
}
|
|
113868
114631
|
}
|
|
113869
114632
|
],
|
|
@@ -114340,6 +115103,19 @@
|
|
|
114340
115103
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
114341
115104
|
}
|
|
114342
115105
|
},
|
|
115106
|
+
{
|
|
115107
|
+
"name": "show-readonly-badge",
|
|
115108
|
+
"type": {
|
|
115109
|
+
"text": "boolean"
|
|
115110
|
+
},
|
|
115111
|
+
"default": "false",
|
|
115112
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
115113
|
+
"fieldName": "showReadonlyBadge",
|
|
115114
|
+
"inheritedFrom": {
|
|
115115
|
+
"name": "RichTextInput",
|
|
115116
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
115117
|
+
}
|
|
115118
|
+
},
|
|
114343
115119
|
{
|
|
114344
115120
|
"name": "maxlength",
|
|
114345
115121
|
"type": {
|
|
@@ -117145,7 +117921,7 @@
|
|
|
117145
117921
|
"name": "options",
|
|
117146
117922
|
"default": "{}",
|
|
117147
117923
|
"type": {
|
|
117148
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
117924
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
117149
117925
|
}
|
|
117150
117926
|
}
|
|
117151
117927
|
],
|
|
@@ -118678,7 +119454,7 @@
|
|
|
118678
119454
|
"name": "options",
|
|
118679
119455
|
"default": "{}",
|
|
118680
119456
|
"type": {
|
|
118681
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
119457
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
118682
119458
|
}
|
|
118683
119459
|
}
|
|
118684
119460
|
],
|
|
@@ -119827,6 +120603,20 @@
|
|
|
119827
120603
|
"module": "src/input/BaseField.ts"
|
|
119828
120604
|
}
|
|
119829
120605
|
},
|
|
120606
|
+
{
|
|
120607
|
+
"kind": "field",
|
|
120608
|
+
"name": "__narrow",
|
|
120609
|
+
"type": {
|
|
120610
|
+
"text": "boolean"
|
|
120611
|
+
},
|
|
120612
|
+
"privacy": "private",
|
|
120613
|
+
"default": "false",
|
|
120614
|
+
"description": "The field is too narrow for the Suggested badge's label; it shows just the sparkle.",
|
|
120615
|
+
"inheritedFrom": {
|
|
120616
|
+
"name": "BaseField",
|
|
120617
|
+
"module": "src/input/BaseField.ts"
|
|
120618
|
+
}
|
|
120619
|
+
},
|
|
119830
120620
|
{
|
|
119831
120621
|
"kind": "field",
|
|
119832
120622
|
"name": "fieldDescriptionId",
|
|
@@ -119852,6 +120642,33 @@
|
|
|
119852
120642
|
"module": "src/input/BaseField.ts"
|
|
119853
120643
|
}
|
|
119854
120644
|
},
|
|
120645
|
+
{
|
|
120646
|
+
"kind": "field",
|
|
120647
|
+
"name": "__widthObserver",
|
|
120648
|
+
"type": {
|
|
120649
|
+
"text": "ResizeObserver | undefined"
|
|
120650
|
+
},
|
|
120651
|
+
"privacy": "private",
|
|
120652
|
+
"description": "Watches the field's width while it holds a suggestion, so the badge can shrink.",
|
|
120653
|
+
"inheritedFrom": {
|
|
120654
|
+
"name": "BaseField",
|
|
120655
|
+
"module": "src/input/BaseField.ts"
|
|
120656
|
+
}
|
|
120657
|
+
},
|
|
120658
|
+
{
|
|
120659
|
+
"kind": "field",
|
|
120660
|
+
"name": "suggestionBadgeIconOnly",
|
|
120661
|
+
"type": {
|
|
120662
|
+
"text": "boolean"
|
|
120663
|
+
},
|
|
120664
|
+
"privacy": "protected",
|
|
120665
|
+
"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.",
|
|
120666
|
+
"readonly": true,
|
|
120667
|
+
"inheritedFrom": {
|
|
120668
|
+
"name": "BaseField",
|
|
120669
|
+
"module": "src/input/BaseField.ts"
|
|
120670
|
+
}
|
|
120671
|
+
},
|
|
119855
120672
|
{
|
|
119856
120673
|
"kind": "method",
|
|
119857
120674
|
"name": "fieldErrorText",
|
|
@@ -120413,7 +121230,7 @@
|
|
|
120413
121230
|
"name": "options",
|
|
120414
121231
|
"default": "{}",
|
|
120415
121232
|
"type": {
|
|
120416
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
121233
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
120417
121234
|
}
|
|
120418
121235
|
}
|
|
120419
121236
|
],
|
|
@@ -121363,6 +122180,17 @@
|
|
|
121363
122180
|
"attribute": "dismissible",
|
|
121364
122181
|
"reflects": true
|
|
121365
122182
|
},
|
|
122183
|
+
{
|
|
122184
|
+
"kind": "field",
|
|
122185
|
+
"name": "iconOnly",
|
|
122186
|
+
"type": {
|
|
122187
|
+
"text": "boolean"
|
|
122188
|
+
},
|
|
122189
|
+
"default": "false",
|
|
122190
|
+
"description": "Shows only the sparkle, for tight spaces such as a narrow field. The label stays the\naccessible name and shows in the tooltip.",
|
|
122191
|
+
"attribute": "icon-only",
|
|
122192
|
+
"reflects": true
|
|
122193
|
+
},
|
|
121366
122194
|
{
|
|
121367
122195
|
"kind": "field",
|
|
121368
122196
|
"name": "strings",
|
|
@@ -121458,6 +122286,15 @@
|
|
|
121458
122286
|
"default": "false",
|
|
121459
122287
|
"description": "Adds a button that clears the output in one action.",
|
|
121460
122288
|
"fieldName": "dismissible"
|
|
122289
|
+
},
|
|
122290
|
+
{
|
|
122291
|
+
"name": "icon-only",
|
|
122292
|
+
"type": {
|
|
122293
|
+
"text": "boolean"
|
|
122294
|
+
},
|
|
122295
|
+
"default": "false",
|
|
122296
|
+
"description": "Shows only the sparkle, for tight spaces such as a narrow field. The label stays the\naccessible name and shows in the tooltip.",
|
|
122297
|
+
"fieldName": "iconOnly"
|
|
121461
122298
|
}
|
|
121462
122299
|
],
|
|
121463
122300
|
"superclass": {
|
|
@@ -122020,6 +122857,20 @@
|
|
|
122020
122857
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
122021
122858
|
}
|
|
122022
122859
|
},
|
|
122860
|
+
{
|
|
122861
|
+
"kind": "field",
|
|
122862
|
+
"name": "showReadonlyBadge",
|
|
122863
|
+
"type": {
|
|
122864
|
+
"text": "boolean"
|
|
122865
|
+
},
|
|
122866
|
+
"default": "false",
|
|
122867
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
122868
|
+
"attribute": "show-readonly-badge",
|
|
122869
|
+
"inheritedFrom": {
|
|
122870
|
+
"name": "RichTextInput",
|
|
122871
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
122872
|
+
}
|
|
122873
|
+
},
|
|
122023
122874
|
{
|
|
122024
122875
|
"kind": "field",
|
|
122025
122876
|
"name": "maxlength",
|
|
@@ -122662,15 +123513,7 @@
|
|
|
122662
123513
|
"kind": "method",
|
|
122663
123514
|
"name": "renderToolbar",
|
|
122664
123515
|
"privacy": "private",
|
|
122665
|
-
"
|
|
122666
|
-
"name": "RichTextInput",
|
|
122667
|
-
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
122668
|
-
}
|
|
122669
|
-
},
|
|
122670
|
-
{
|
|
122671
|
-
"kind": "method",
|
|
122672
|
-
"name": "renderStateTag",
|
|
122673
|
-
"privacy": "protected",
|
|
123516
|
+
"description": "The toolbar. A read-only or disabled editor shows no formatting tools, which could do\nnothing: only View source, and the \"Read only\" badge with `show-readonly-badge`.",
|
|
122674
123517
|
"inheritedFrom": {
|
|
122675
123518
|
"name": "RichTextInput",
|
|
122676
123519
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
@@ -123144,7 +123987,7 @@
|
|
|
123144
123987
|
"name": "options",
|
|
123145
123988
|
"default": "{}",
|
|
123146
123989
|
"type": {
|
|
123147
|
-
"text": "{ slot?: string; withReason?: boolean }"
|
|
123990
|
+
"text": "{ slot?: string; withReason?: boolean; iconOnly?: boolean }"
|
|
123148
123991
|
}
|
|
123149
123992
|
}
|
|
123150
123993
|
],
|
|
@@ -123594,6 +124437,19 @@
|
|
|
123594
124437
|
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
123595
124438
|
}
|
|
123596
124439
|
},
|
|
124440
|
+
{
|
|
124441
|
+
"name": "show-readonly-badge",
|
|
124442
|
+
"type": {
|
|
124443
|
+
"text": "boolean"
|
|
124444
|
+
},
|
|
124445
|
+
"default": "false",
|
|
124446
|
+
"description": "Shows a \"Read only\" badge in the toolbar while the editor is read-only or disabled. Not shown with `hide-toolbar`.",
|
|
124447
|
+
"fieldName": "showReadonlyBadge",
|
|
124448
|
+
"inheritedFrom": {
|
|
124449
|
+
"name": "RichTextInput",
|
|
124450
|
+
"module": "src/__internal/rich-text/rich-text-input.ts"
|
|
124451
|
+
}
|
|
124452
|
+
},
|
|
123597
124453
|
{
|
|
123598
124454
|
"name": "maxlength",
|
|
123599
124455
|
"type": {
|
|
@@ -123817,11 +124673,23 @@
|
|
|
123817
124673
|
{
|
|
123818
124674
|
"description": "Text color of the person's bubble.",
|
|
123819
124675
|
"name": "--chat-message-bubble-color"
|
|
124676
|
+
},
|
|
124677
|
+
{
|
|
124678
|
+
"description": "Background of a participant's bubble.",
|
|
124679
|
+
"name": "--chat-message-participant-background"
|
|
124680
|
+
},
|
|
124681
|
+
{
|
|
124682
|
+
"description": "Text color of a participant's bubble.",
|
|
124683
|
+
"name": "--chat-message-participant-color"
|
|
123820
124684
|
}
|
|
123821
124685
|
],
|
|
123822
124686
|
"cssParts": [
|
|
123823
124687
|
{
|
|
123824
|
-
"description": "The
|
|
124688
|
+
"description": "The line above the message with the author, channel and time.",
|
|
124689
|
+
"name": "header"
|
|
124690
|
+
},
|
|
124691
|
+
{
|
|
124692
|
+
"description": "The text bubble of the person or a participant.",
|
|
123825
124693
|
"name": "bubble"
|
|
123826
124694
|
},
|
|
123827
124695
|
{
|
|
@@ -123831,6 +124699,10 @@
|
|
|
123831
124699
|
{
|
|
123832
124700
|
"description": "The answer's actions.",
|
|
123833
124701
|
"name": "actions"
|
|
124702
|
+
},
|
|
124703
|
+
{
|
|
124704
|
+
"description": "The quick replies.",
|
|
124705
|
+
"name": "suggestions"
|
|
123834
124706
|
}
|
|
123835
124707
|
],
|
|
123836
124708
|
"slots": [
|
|
@@ -123847,7 +124719,11 @@
|
|
|
123847
124719
|
"name": "avatar"
|
|
123848
124720
|
},
|
|
123849
124721
|
{
|
|
123850
|
-
"description": "
|
|
124722
|
+
"description": "At the end of the line above the message, such as a \"Work note\" `wc-tag`.",
|
|
124723
|
+
"name": "meta"
|
|
124724
|
+
},
|
|
124725
|
+
{
|
|
124726
|
+
"description": "Below everything.",
|
|
123851
124727
|
"name": "footer"
|
|
123852
124728
|
}
|
|
123853
124729
|
],
|
|
@@ -123859,11 +124735,11 @@
|
|
|
123859
124735
|
"text": "ChatMessageFrom"
|
|
123860
124736
|
},
|
|
123861
124737
|
"default": "'assistant'",
|
|
123862
|
-
"description": "Who wrote it: the person (`user`)
|
|
124738
|
+
"description": "Who wrote it: the person (`user`), the assistant (`assistant`, default) or another person (`participant`).",
|
|
123863
124739
|
"attribute": "from",
|
|
123864
124740
|
"reflects": true,
|
|
123865
124741
|
"expandedType": {
|
|
123866
|
-
"text": "'user' | 'assistant'"
|
|
124742
|
+
"text": "'user' | 'assistant' | 'participant'"
|
|
123867
124743
|
}
|
|
123868
124744
|
},
|
|
123869
124745
|
{
|
|
@@ -123873,9 +124749,29 @@
|
|
|
123873
124749
|
"text": "string"
|
|
123874
124750
|
},
|
|
123875
124751
|
"default": "''",
|
|
123876
|
-
"description": "Name read before
|
|
124752
|
+
"description": "Name shown above a participant's message and read before every message; defaults to \"You\", \"Assistant\" or \"Participant\".",
|
|
123877
124753
|
"attribute": "author"
|
|
123878
124754
|
},
|
|
124755
|
+
{
|
|
124756
|
+
"kind": "field",
|
|
124757
|
+
"name": "datetime",
|
|
124758
|
+
"type": {
|
|
124759
|
+
"text": "string"
|
|
124760
|
+
},
|
|
124761
|
+
"default": "''",
|
|
124762
|
+
"description": "When it was written, as an ISO 8601 date-time; shown as a time above the message.",
|
|
124763
|
+
"attribute": "datetime"
|
|
124764
|
+
},
|
|
124765
|
+
{
|
|
124766
|
+
"kind": "field",
|
|
124767
|
+
"name": "channel",
|
|
124768
|
+
"type": {
|
|
124769
|
+
"text": "string"
|
|
124770
|
+
},
|
|
124771
|
+
"default": "''",
|
|
124772
|
+
"description": "Where it came from, such as \"Teams\"; shown as \"via Teams\" above the message.",
|
|
124773
|
+
"attribute": "channel"
|
|
124774
|
+
},
|
|
123879
124775
|
{
|
|
123880
124776
|
"kind": "field",
|
|
123881
124777
|
"name": "value",
|
|
@@ -123971,6 +124867,24 @@
|
|
|
123971
124867
|
"description": "Removes copy, Try again and the rating from an answer.",
|
|
123972
124868
|
"attribute": "hide-actions"
|
|
123973
124869
|
},
|
|
124870
|
+
{
|
|
124871
|
+
"kind": "field",
|
|
124872
|
+
"name": "suggestions",
|
|
124873
|
+
"type": {
|
|
124874
|
+
"text": "string[]"
|
|
124875
|
+
},
|
|
124876
|
+
"default": "[]",
|
|
124877
|
+
"description": "Quick replies shown as chips under the message once it is complete."
|
|
124878
|
+
},
|
|
124879
|
+
{
|
|
124880
|
+
"kind": "field",
|
|
124881
|
+
"name": "locale",
|
|
124882
|
+
"type": {
|
|
124883
|
+
"text": "string | undefined"
|
|
124884
|
+
},
|
|
124885
|
+
"description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
|
|
124886
|
+
"attribute": "locale"
|
|
124887
|
+
},
|
|
123974
124888
|
{
|
|
123975
124889
|
"kind": "field",
|
|
123976
124890
|
"name": "strings",
|
|
@@ -123979,6 +124893,16 @@
|
|
|
123979
124893
|
},
|
|
123980
124894
|
"description": "Per-instance string overrides."
|
|
123981
124895
|
},
|
|
124896
|
+
{
|
|
124897
|
+
"kind": "field",
|
|
124898
|
+
"name": "_hasMeta",
|
|
124899
|
+
"type": {
|
|
124900
|
+
"text": "boolean"
|
|
124901
|
+
},
|
|
124902
|
+
"privacy": "private",
|
|
124903
|
+
"default": "false",
|
|
124904
|
+
"description": "The `meta` slot has content."
|
|
124905
|
+
},
|
|
123982
124906
|
{
|
|
123983
124907
|
"kind": "field",
|
|
123984
124908
|
"name": "i18n",
|
|
@@ -123995,6 +124919,32 @@
|
|
|
123995
124919
|
"description": "The name read before the message.",
|
|
123996
124920
|
"readonly": true
|
|
123997
124921
|
},
|
|
124922
|
+
{
|
|
124923
|
+
"kind": "method",
|
|
124924
|
+
"name": "_onMetaChange",
|
|
124925
|
+
"privacy": "private",
|
|
124926
|
+
"parameters": [
|
|
124927
|
+
{
|
|
124928
|
+
"name": "event",
|
|
124929
|
+
"type": {
|
|
124930
|
+
"text": "Event"
|
|
124931
|
+
}
|
|
124932
|
+
}
|
|
124933
|
+
]
|
|
124934
|
+
},
|
|
124935
|
+
{
|
|
124936
|
+
"kind": "method",
|
|
124937
|
+
"name": "_pick",
|
|
124938
|
+
"privacy": "private",
|
|
124939
|
+
"parameters": [
|
|
124940
|
+
{
|
|
124941
|
+
"name": "value",
|
|
124942
|
+
"type": {
|
|
124943
|
+
"text": "string"
|
|
124944
|
+
}
|
|
124945
|
+
}
|
|
124946
|
+
]
|
|
124947
|
+
},
|
|
123998
124948
|
{
|
|
123999
124949
|
"kind": "field",
|
|
124000
124950
|
"name": "regenerate",
|
|
@@ -124027,9 +124977,26 @@
|
|
|
124027
124977
|
"kind": "method",
|
|
124028
124978
|
"name": "renderActions",
|
|
124029
124979
|
"privacy": "private"
|
|
124980
|
+
},
|
|
124981
|
+
{
|
|
124982
|
+
"kind": "method",
|
|
124983
|
+
"name": "renderHeader",
|
|
124984
|
+
"privacy": "private"
|
|
124985
|
+
},
|
|
124986
|
+
{
|
|
124987
|
+
"kind": "method",
|
|
124988
|
+
"name": "renderSuggestions",
|
|
124989
|
+
"privacy": "private"
|
|
124030
124990
|
}
|
|
124031
124991
|
],
|
|
124032
124992
|
"events": [
|
|
124993
|
+
{
|
|
124994
|
+
"name": "suggestion-select",
|
|
124995
|
+
"type": {
|
|
124996
|
+
"text": "CustomEvent<ChatMessageSuggestionDetail>"
|
|
124997
|
+
},
|
|
124998
|
+
"description": "The person picked a quick reply."
|
|
124999
|
+
},
|
|
124033
125000
|
{
|
|
124034
125001
|
"name": "feedback",
|
|
124035
125002
|
"type": {
|
|
@@ -124052,10 +125019,10 @@
|
|
|
124052
125019
|
"text": "ChatMessageFrom"
|
|
124053
125020
|
},
|
|
124054
125021
|
"default": "'assistant'",
|
|
124055
|
-
"description": "Who wrote it: the person (`user`)
|
|
125022
|
+
"description": "Who wrote it: the person (`user`), the assistant (`assistant`, default) or another person (`participant`).",
|
|
124056
125023
|
"fieldName": "from",
|
|
124057
125024
|
"expandedType": {
|
|
124058
|
-
"text": "'user' | 'assistant'"
|
|
125025
|
+
"text": "'user' | 'assistant' | 'participant'"
|
|
124059
125026
|
}
|
|
124060
125027
|
},
|
|
124061
125028
|
{
|
|
@@ -124064,9 +125031,27 @@
|
|
|
124064
125031
|
"text": "string"
|
|
124065
125032
|
},
|
|
124066
125033
|
"default": "''",
|
|
124067
|
-
"description": "Name read before
|
|
125034
|
+
"description": "Name shown above a participant's message and read before every message; defaults to \"You\", \"Assistant\" or \"Participant\".",
|
|
124068
125035
|
"fieldName": "author"
|
|
124069
125036
|
},
|
|
125037
|
+
{
|
|
125038
|
+
"name": "datetime",
|
|
125039
|
+
"type": {
|
|
125040
|
+
"text": "string"
|
|
125041
|
+
},
|
|
125042
|
+
"default": "''",
|
|
125043
|
+
"description": "When it was written, as an ISO 8601 date-time; shown as a time above the message.",
|
|
125044
|
+
"fieldName": "datetime"
|
|
125045
|
+
},
|
|
125046
|
+
{
|
|
125047
|
+
"name": "channel",
|
|
125048
|
+
"type": {
|
|
125049
|
+
"text": "string"
|
|
125050
|
+
},
|
|
125051
|
+
"default": "''",
|
|
125052
|
+
"description": "Where it came from, such as \"Teams\"; shown as \"via Teams\" above the message.",
|
|
125053
|
+
"fieldName": "channel"
|
|
125054
|
+
},
|
|
124070
125055
|
{
|
|
124071
125056
|
"name": "value",
|
|
124072
125057
|
"type": {
|
|
@@ -124141,6 +125126,14 @@
|
|
|
124141
125126
|
"default": "false",
|
|
124142
125127
|
"description": "Removes copy, Try again and the rating from an answer.",
|
|
124143
125128
|
"fieldName": "hideActions"
|
|
125129
|
+
},
|
|
125130
|
+
{
|
|
125131
|
+
"name": "locale",
|
|
125132
|
+
"type": {
|
|
125133
|
+
"text": "string | undefined"
|
|
125134
|
+
},
|
|
125135
|
+
"description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
|
|
125136
|
+
"fieldName": "locale"
|
|
124144
125137
|
}
|
|
124145
125138
|
],
|
|
124146
125139
|
"superclass": {
|
|
@@ -124149,7 +125142,7 @@
|
|
|
124149
125142
|
},
|
|
124150
125143
|
"tagName": "wc-chat-message",
|
|
124151
125144
|
"customElement": true,
|
|
124152
|
-
"summary": "One turn of a conversation: what the person asked, or the assistant's answer with its steps, drafts and sources.",
|
|
125145
|
+
"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
125146
|
"rawTag": {
|
|
124154
125147
|
"name": "chat-message",
|
|
124155
125148
|
"description": ""
|
|
@@ -124203,6 +125196,14 @@
|
|
|
124203
125196
|
"name": "ChatMessageFeedbackDetail",
|
|
124204
125197
|
"module": "./chat-message.js"
|
|
124205
125198
|
}
|
|
125199
|
+
},
|
|
125200
|
+
{
|
|
125201
|
+
"kind": "js",
|
|
125202
|
+
"name": "ChatMessageSuggestionDetail",
|
|
125203
|
+
"declaration": {
|
|
125204
|
+
"name": "ChatMessageSuggestionDetail",
|
|
125205
|
+
"module": "./chat-message.js"
|
|
125206
|
+
}
|
|
124206
125207
|
}
|
|
124207
125208
|
]
|
|
124208
125209
|
},
|
|
@@ -124236,7 +125237,7 @@
|
|
|
124236
125237
|
],
|
|
124237
125238
|
"slots": [
|
|
124238
125239
|
{
|
|
124239
|
-
"description": "The `wc-chat-message`s.",
|
|
125240
|
+
"description": "The `wc-chat-message`s and `wc-chat-event`s.",
|
|
124240
125241
|
"name": ""
|
|
124241
125242
|
},
|
|
124242
125243
|
{
|
|
@@ -124348,6 +125349,16 @@
|
|
|
124348
125349
|
"default": "false",
|
|
124349
125350
|
"description": "Set while Jump to latest scrolls smoothly to the end."
|
|
124350
125351
|
},
|
|
125352
|
+
{
|
|
125353
|
+
"kind": "field",
|
|
125354
|
+
"name": "_lastScrollTop",
|
|
125355
|
+
"type": {
|
|
125356
|
+
"text": "number"
|
|
125357
|
+
},
|
|
125358
|
+
"privacy": "private",
|
|
125359
|
+
"default": "0",
|
|
125360
|
+
"description": "The scroll position at the last scroll event, to tell the reader scrolling up from growth."
|
|
125361
|
+
},
|
|
124351
125362
|
{
|
|
124352
125363
|
"kind": "field",
|
|
124353
125364
|
"name": "_settled",
|
|
@@ -124497,6 +125508,116 @@
|
|
|
124497
125508
|
}
|
|
124498
125509
|
]
|
|
124499
125510
|
},
|
|
125511
|
+
{
|
|
125512
|
+
"kind": "javascript-module",
|
|
125513
|
+
"path": "src/chat-thread/chat-event.ts",
|
|
125514
|
+
"declarations": [
|
|
125515
|
+
{
|
|
125516
|
+
"kind": "class",
|
|
125517
|
+
"description": "",
|
|
125518
|
+
"name": "ChatEvent",
|
|
125519
|
+
"cssParts": [
|
|
125520
|
+
{
|
|
125521
|
+
"description": "The line.",
|
|
125522
|
+
"name": "event"
|
|
125523
|
+
}
|
|
125524
|
+
],
|
|
125525
|
+
"slots": [
|
|
125526
|
+
{
|
|
125527
|
+
"description": "What happened. Bold the name of who did it with `<strong>`.",
|
|
125528
|
+
"name": ""
|
|
125529
|
+
}
|
|
125530
|
+
],
|
|
125531
|
+
"members": [
|
|
125532
|
+
{
|
|
125533
|
+
"kind": "field",
|
|
125534
|
+
"name": "icon",
|
|
125535
|
+
"type": {
|
|
125536
|
+
"text": "string"
|
|
125537
|
+
},
|
|
125538
|
+
"default": "''",
|
|
125539
|
+
"description": "Material Symbols name of the glyph before the text, such as `verified`.",
|
|
125540
|
+
"attribute": "icon"
|
|
125541
|
+
},
|
|
125542
|
+
{
|
|
125543
|
+
"kind": "field",
|
|
125544
|
+
"name": "datetime",
|
|
125545
|
+
"type": {
|
|
125546
|
+
"text": "string"
|
|
125547
|
+
},
|
|
125548
|
+
"default": "''",
|
|
125549
|
+
"description": "When it happened, as an ISO 8601 date-time; shown as a time after the text.",
|
|
125550
|
+
"attribute": "datetime"
|
|
125551
|
+
},
|
|
125552
|
+
{
|
|
125553
|
+
"kind": "field",
|
|
125554
|
+
"name": "locale",
|
|
125555
|
+
"type": {
|
|
125556
|
+
"text": "string | undefined"
|
|
125557
|
+
},
|
|
125558
|
+
"description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
|
|
125559
|
+
"attribute": "locale"
|
|
125560
|
+
},
|
|
125561
|
+
{
|
|
125562
|
+
"kind": "field",
|
|
125563
|
+
"name": "i18n",
|
|
125564
|
+
"privacy": "private",
|
|
125565
|
+
"readonly": true,
|
|
125566
|
+
"default": "new I18nController(this)"
|
|
125567
|
+
}
|
|
125568
|
+
],
|
|
125569
|
+
"attributes": [
|
|
125570
|
+
{
|
|
125571
|
+
"name": "icon",
|
|
125572
|
+
"type": {
|
|
125573
|
+
"text": "string"
|
|
125574
|
+
},
|
|
125575
|
+
"default": "''",
|
|
125576
|
+
"description": "Material Symbols name of the glyph before the text, such as `verified`.",
|
|
125577
|
+
"fieldName": "icon"
|
|
125578
|
+
},
|
|
125579
|
+
{
|
|
125580
|
+
"name": "datetime",
|
|
125581
|
+
"type": {
|
|
125582
|
+
"text": "string"
|
|
125583
|
+
},
|
|
125584
|
+
"default": "''",
|
|
125585
|
+
"description": "When it happened, as an ISO 8601 date-time; shown as a time after the text.",
|
|
125586
|
+
"fieldName": "datetime"
|
|
125587
|
+
},
|
|
125588
|
+
{
|
|
125589
|
+
"name": "locale",
|
|
125590
|
+
"type": {
|
|
125591
|
+
"text": "string | undefined"
|
|
125592
|
+
},
|
|
125593
|
+
"description": "Locale for the time; defaults to the nearest `lang`, else the browser's.",
|
|
125594
|
+
"fieldName": "locale"
|
|
125595
|
+
}
|
|
125596
|
+
],
|
|
125597
|
+
"superclass": {
|
|
125598
|
+
"name": "LitElement",
|
|
125599
|
+
"package": "lit"
|
|
125600
|
+
},
|
|
125601
|
+
"tagName": "wc-chat-event",
|
|
125602
|
+
"customElement": true,
|
|
125603
|
+
"summary": "A line in a conversation for something that happened rather than something said, such as \"Alan Kay confirmed the rollback\".",
|
|
125604
|
+
"rawTag": {
|
|
125605
|
+
"name": "chat-event",
|
|
125606
|
+
"description": ""
|
|
125607
|
+
}
|
|
125608
|
+
}
|
|
125609
|
+
],
|
|
125610
|
+
"exports": [
|
|
125611
|
+
{
|
|
125612
|
+
"kind": "js",
|
|
125613
|
+
"name": "ChatEvent",
|
|
125614
|
+
"declaration": {
|
|
125615
|
+
"name": "ChatEvent",
|
|
125616
|
+
"module": "src/chat-thread/chat-event.ts"
|
|
125617
|
+
}
|
|
125618
|
+
}
|
|
125619
|
+
]
|
|
125620
|
+
},
|
|
124500
125621
|
{
|
|
124501
125622
|
"kind": "javascript-module",
|
|
124502
125623
|
"path": "src/chat-thread/index.ts",
|
|
@@ -124517,6 +125638,14 @@
|
|
|
124517
125638
|
"name": "ChatThreadSuggestionDetail",
|
|
124518
125639
|
"module": "./chat-thread.js"
|
|
124519
125640
|
}
|
|
125641
|
+
},
|
|
125642
|
+
{
|
|
125643
|
+
"kind": "js",
|
|
125644
|
+
"name": "ChatEvent",
|
|
125645
|
+
"declaration": {
|
|
125646
|
+
"name": "ChatEvent",
|
|
125647
|
+
"module": "./chat-event.js"
|
|
125648
|
+
}
|
|
124520
125649
|
}
|
|
124521
125650
|
]
|
|
124522
125651
|
},
|
|
@@ -156007,6 +157136,14 @@
|
|
|
156007
157136
|
"module": "./chat-message/index.js"
|
|
156008
157137
|
}
|
|
156009
157138
|
},
|
|
157139
|
+
{
|
|
157140
|
+
"kind": "js",
|
|
157141
|
+
"name": "ChatMessageSuggestionDetail",
|
|
157142
|
+
"declaration": {
|
|
157143
|
+
"name": "ChatMessageSuggestionDetail",
|
|
157144
|
+
"module": "./chat-message/index.js"
|
|
157145
|
+
}
|
|
157146
|
+
},
|
|
156010
157147
|
{
|
|
156011
157148
|
"kind": "js",
|
|
156012
157149
|
"name": "ChatThread",
|
|
@@ -156015,6 +157152,14 @@
|
|
|
156015
157152
|
"module": "./chat-thread/index.js"
|
|
156016
157153
|
}
|
|
156017
157154
|
},
|
|
157155
|
+
{
|
|
157156
|
+
"kind": "js",
|
|
157157
|
+
"name": "ChatEvent",
|
|
157158
|
+
"declaration": {
|
|
157159
|
+
"name": "ChatEvent",
|
|
157160
|
+
"module": "./chat-thread/index.js"
|
|
157161
|
+
}
|
|
157162
|
+
},
|
|
156018
157163
|
{
|
|
156019
157164
|
"kind": "js",
|
|
156020
157165
|
"name": "ChatThreadSuggestionDetail",
|