@redvars/peacock 4.2.1 → 4.3.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-D8ByB0l3.js → BaseField-CHBcjVc2.js} +3 -3
- package/dist/{BaseField-D8ByB0l3.js.map → BaseField-CHBcjVc2.js.map} +1 -1
- package/dist/{BaseInput-xCHvT4AN.js → BaseInput-DZp2O8Gh.js} +2 -2
- package/dist/{BaseInput-xCHvT4AN.js.map → BaseInput-DZp2O8Gh.js.map} +1 -1
- package/dist/ai-badge.js +2 -2
- 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-DxNgAQtw.js → base-progress-CKQ32Ruw.js} +2 -2
- package/dist/{base-progress-DxNgAQtw.js.map → base-progress-CKQ32Ruw.js.map} +1 -1
- package/dist/bottom-sheet.js +2 -2
- package/dist/breadcrumb.js +2 -2
- package/dist/calendar.js +2 -2
- package/dist/{canvas-base-DHKf2CmA.js → canvas-base-BoKef3yr.js} +2 -2
- package/dist/{canvas-base-DHKf2CmA.js.map → canvas-base-BoKef3yr.js.map} +1 -1
- package/dist/carousel.js +644 -0
- package/dist/carousel.js.map +1 -0
- package/dist/{cartesian-chart-G6VX1aKk.js → cartesian-chart-DqZxnoG1.js} +2 -2
- package/dist/{cartesian-chart-G6VX1aKk.js.map → cartesian-chart-DqZxnoG1.js.map} +1 -1
- package/dist/{cb-group-base-BBDUgxne.js → cb-group-base-DHwx72Gt.js} +3 -1
- package/dist/{cb-group-base-BBDUgxne.js.map → cb-group-base-DHwx72Gt.js.map} +1 -1
- package/dist/{cb-group-base-CZLzCnXK.js → cb-group-base-DXnAJxEK.js} +3 -3
- package/dist/{cb-group-base-CZLzCnXK.js.map → cb-group-base-DXnAJxEK.js.map} +1 -1
- package/dist/cb-group.js +7 -4
- package/dist/cb-group.js.map +1 -1
- 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-DREru2P0.js → chart-base-ByCJM_9C.js} +2 -2
- package/dist/{chart-base-DREru2P0.js.map → chart-base-ByCJM_9C.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 +2 -2
- package/dist/chat-message.js +2 -2
- package/dist/chat-thread.js +2 -2
- package/dist/checkbox-group.js +3 -3
- package/dist/checkbox.js +3 -3
- package/dist/chip-set.js +2 -2
- package/dist/chip.js +2 -2
- package/dist/circular-progress.js +3 -3
- package/dist/citation.js +2 -2
- package/dist/code-editor.js +3 -3
- package/dist/code-highlighter.js +2 -2
- package/dist/color-field.js +4 -4
- package/dist/color-picker.js +2 -2
- package/dist/command-palette.js +2 -2
- package/dist/comment-composer.js +4 -4
- package/dist/condition-builder.js +4 -4
- package/dist/confirm-dialog.js +2 -2
- package/dist/copy-button.js +2 -2
- package/dist/currency-field.js +4 -4
- package/dist/custom-elements-jsdocs.json +902 -74
- package/dist/custom-elements.json +3301 -446
- package/dist/date-field.js +5 -5
- package/dist/date-picker.js +2 -2
- package/dist/date-range-field.js +5 -5
- package/dist/datetime-field.js +5 -5
- package/dist/dependency-map.js +3 -3
- package/dist/description-item.js +2 -2
- package/dist/description-list.js +2 -2
- package/dist/{diagram-CHF70xTL.js → diagram-Cnrj-4y3.js} +2 -2
- package/dist/{diagram-CHF70xTL.js.map → diagram-Cnrj-4y3.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 +2 -2
- package/dist/discussion-comment.js +2 -2
- package/dist/discussion.js +4 -4
- package/dist/{document-editor-Cb9fCxvA.js → document-editor-C8ThjDQ7.js} +2 -2
- package/dist/{document-editor-Cb9fCxvA.js.map → document-editor-C8ThjDQ7.js.map} +1 -1
- package/dist/document-editor.js +3 -3
- package/dist/draft-card.js +2 -2
- package/dist/erd.js +3 -3
- package/dist/file-upload.js +3 -3
- package/dist/filter-bar.js +2 -2
- package/dist/flow.js +4 -4
- package/dist/form.js +2 -2
- package/dist/{generative-view-C4fJ2zI7.js → generative-view-CQ8-g1wY.js} +2 -2
- package/dist/{generative-view-C4fJ2zI7.js.map → generative-view-CQ8-g1wY.js.map} +1 -1
- package/dist/generative-view.js +3 -3
- package/dist/highlight-Be0wu7kh.js +252 -0
- package/dist/highlight-Be0wu7kh.js.map +1 -0
- package/dist/highlight.js +6 -0
- package/dist/highlight.js.map +1 -0
- package/dist/html-editor.js +4 -4
- package/dist/{i18n-controller-CH4e9sju.js → i18n-controller-DLJcJ5gO.js} +2 -2
- package/dist/{i18n-controller-CH4e9sju.js.map → i18n-controller-DLJcJ5gO.js.map} +1 -1
- package/dist/image.js +2 -2
- package/dist/index.js +27 -17
- package/dist/index.js.map +1 -1
- package/dist/inline-edit.js +2 -2
- package/dist/input.js +3 -3
- 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/listbox.js +2 -2
- package/dist/loader-full.js +19 -9
- package/dist/loader-full.js.map +1 -1
- package/dist/loader.js +46 -9
- package/dist/loader.js.map +1 -1
- package/dist/markdown-editor.js +4 -4
- package/dist/mention-input.js +4 -4
- 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 +2 -2
- package/dist/number-field.js +4 -4
- package/dist/page-header.js +2 -2
- package/dist/pagination.js +2 -2
- package/dist/password-field.js +4 -4
- package/dist/password-rules.js +2 -2
- package/dist/phone-field.js +4 -4
- package/dist/{picker-field-loXW-xrW.js → picker-field-B5xOFc3-.js} +3 -3
- package/dist/{picker-field-loXW-xrW.js.map → picker-field-B5xOFc3-.js.map} +1 -1
- package/dist/pin-input.js +4 -4
- package/dist/presence-indicator.js +2 -2
- package/dist/prompt-input.js +4 -4
- package/dist/radio.js +3 -3
- package/dist/rating.js +3 -3
- package/dist/redvars-loader.js +2 -2
- package/dist/relative-time.js +2 -2
- package/dist/resizable-panels.js +2 -2
- package/dist/{rich-text-input-B5j0eqCJ.js → rich-text-input-C4B9D6oD.js} +3 -3
- package/dist/{rich-text-input-B5j0eqCJ.js.map → rich-text-input-C4B9D6oD.js.map} +1 -1
- package/dist/{schema-BJzlGRP1.js → schema-CPhNrjrx.js} +2 -2
- package/dist/{schema-BJzlGRP1.js.map → schema-CPhNrjrx.js.map} +1 -1
- package/dist/search.js +3 -3
- package/dist/select.js +4 -4
- package/dist/side-sheet.js +2 -2
- package/dist/signature-pad.js +3 -3
- package/dist/site-footer-group.js +142 -0
- package/dist/site-footer-group.js.map +1 -0
- package/dist/site-footer.js +338 -0
- package/dist/site-footer.js.map +1 -0
- package/dist/site-header.js +774 -0
- package/dist/site-header.js.map +1 -0
- package/dist/site-nav-group.js +123 -0
- package/dist/site-nav-group.js.map +1 -0
- package/dist/site-nav-link.js +321 -0
- package/dist/site-nav-link.js.map +1 -0
- package/dist/site-nav-menu.js +506 -0
- package/dist/site-nav-menu.js.map +1 -0
- package/dist/site-nav-shared-BDR2HG8e.js +23 -0
- package/dist/site-nav-shared-BDR2HG8e.js.map +1 -0
- package/dist/slider.js +3 -3
- package/dist/snackbar.js +2 -2
- package/dist/sparkline.js +2 -2
- package/dist/split-button.js +2 -2
- package/dist/src/__internal/i18n/strings.d.ts +24 -0
- package/dist/src/carousel/carousel.d.ts +135 -0
- package/dist/src/carousel/index.d.ts +1 -0
- package/dist/src/highlight/highlight.d.ts +56 -0
- package/dist/src/highlight/index.d.ts +2 -0
- package/dist/src/highlight/matches.d.ts +9 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/site-footer/index.d.ts +2 -0
- package/dist/src/site-footer/site-footer-group.d.ts +34 -0
- package/dist/src/site-footer/site-footer.d.ts +74 -0
- package/dist/src/site-header/index.d.ts +4 -0
- package/dist/src/site-header/site-header.d.ts +170 -0
- package/dist/src/site-header/site-nav-group.d.ts +32 -0
- package/dist/src/site-header/site-nav-link.d.ts +65 -0
- package/dist/src/site-header/site-nav-menu.d.ts +104 -0
- package/dist/src/site-header/site-nav-shared.d.ts +13 -0
- package/dist/src/table/table.d.ts +5 -0
- package/dist/src/video/index.d.ts +2 -0
- package/dist/src/video/video-source.d.ts +12 -0
- package/dist/src/video/video.d.ts +80 -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-o6v6Hrmn.js → strings-MXyrGrNs.js} +28 -1
- package/dist/strings-MXyrGrNs.js.map +1 -0
- package/dist/svg.js +2 -2
- package/dist/switch.js +3 -3
- package/dist/table.js +53 -10
- package/dist/table.js.map +1 -1
- package/dist/test/carousel.test.d.ts +1 -0
- package/dist/test/highlight.test.d.ts +1 -0
- package/dist/test/site-footer.test.d.ts +1 -0
- package/dist/test/site-header.test.d.ts +1 -0
- package/dist/test/video.test.d.ts +1 -0
- package/dist/textarea.js +4 -4
- package/dist/time-field.js +5 -5
- package/dist/time-picker.js +2 -2
- package/dist/timeline-item.js +2 -2
- package/dist/timeline.js +2 -2
- package/dist/{toggle-base-BSzBnLZN.js → toggle-base-I1wE_fVe.js} +2 -2
- package/dist/{toggle-base-BSzBnLZN.js.map → toggle-base-I1wE_fVe.js.map} +1 -1
- package/dist/tour.js +2 -2
- package/dist/transfer-list.js +3 -3
- 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 +4 -4
- package/dist/user-menu.js +2 -2
- package/dist/video-IwNmHyft.js +509 -0
- package/dist/video-IwNmHyft.js.map +1 -0
- package/dist/video.js +12 -0
- package/dist/video.js.map +1 -0
- 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 +2 -2
- package/package.json +1 -1
- package/readme.md +5 -0
- package/src/__internal/i18n/strings.ts +31 -0
- package/src/carousel/carousel.scss +124 -0
- package/src/carousel/carousel.ts +547 -0
- package/src/carousel/index.ts +1 -0
- package/src/condition-builder/cb-group-base.scss +5 -1
- package/src/condition-builder/cb-group-base.ts +1 -1
- package/src/condition-builder/cb-group.scss +4 -0
- package/src/highlight/highlight.scss +25 -0
- package/src/highlight/highlight.ts +123 -0
- package/src/highlight/index.ts +2 -0
- package/src/highlight/matches.ts +94 -0
- package/src/index.ts +18 -0
- package/src/loader.ts +36 -0
- package/src/site-footer/index.ts +2 -0
- package/src/site-footer/site-footer-group.scss +53 -0
- package/src/site-footer/site-footer-group.ts +52 -0
- package/src/site-footer/site-footer.scss +171 -0
- package/src/site-footer/site-footer.ts +151 -0
- package/src/site-header/index.ts +8 -0
- package/src/site-header/site-header.scss +238 -0
- package/src/site-header/site-header.ts +565 -0
- package/src/site-header/site-nav-group.scss +29 -0
- package/src/site-header/site-nav-group.ts +57 -0
- package/src/site-header/site-nav-link.scss +154 -0
- package/src/site-header/site-nav-link.ts +140 -0
- package/src/site-header/site-nav-menu.scss +182 -0
- package/src/site-header/site-nav-menu.ts +336 -0
- package/src/site-header/site-nav-shared.ts +27 -0
- package/src/table/table.scss +52 -2
- package/src/table/table.ts +20 -6
- package/src/video/index.ts +2 -0
- package/src/video/video-source.ts +80 -0
- package/src/video/video.scss +183 -0
- package/src/video/video.ts +246 -0
- package/dist/strings-o6v6Hrmn.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', // ── 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}`, }",
|
|
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', // ── Carousel and video ─────────────────────────────────────────────────── /** Spoken role of a carousel, read as \"Testimonials, carousel\". */ carouselRole: 'carousel', /** Spoken role of each slide, read as \"2 of 5, slide\". */ carouselSlideRole: 'slide', /** Name of each slide, for example \"2 of 5\". */ carouselSlideLabel: (position: string, total: string): string => `${position} of ${total}`, previousSlide: 'Previous slide', nextSlide: 'Next slide', /** The autoplay button while slides rotate. */ stopSlideRotation: 'Stop slide rotation', /** The autoplay button while slides are still. */ startSlideRotation: 'Start slide rotation', /** Name of the group of picker buttons. */ chooseSlide: 'Choose slide', /** A picker button, for example \"Slide 2 of 5\" or \"Slides 4 to 6 of 9\". */ carouselPicker: (first: string, last: string, total: string): string => first === last ? `Slide ${first} of ${total}` : `Slides ${first} to ${last} of ${total}`, /** The counter shown instead of pickers when there are many pages, for example \"3 of 9\". */ carouselCounter: (page: string, total: string): string => `${page} of ${total}`, /** Name of a video without `label`. */ video: 'Video', /** The play button of a video, for example \"Play: Build a portal in ten minutes\". */ playVideo: (label: string): string => `Play: ${label}`, videoFromYouTube: 'Plays from YouTube (no cookies)', videoFromVimeo: 'Plays from Vimeo', // ── 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
|
{
|
|
@@ -77083,6 +77083,20 @@
|
|
|
77083
77083
|
}
|
|
77084
77084
|
]
|
|
77085
77085
|
},
|
|
77086
|
+
{
|
|
77087
|
+
"kind": "method",
|
|
77088
|
+
"name": "renderFillerRow",
|
|
77089
|
+
"privacy": "private",
|
|
77090
|
+
"parameters": [
|
|
77091
|
+
{
|
|
77092
|
+
"name": "columns",
|
|
77093
|
+
"type": {
|
|
77094
|
+
"text": "GridColumn[]"
|
|
77095
|
+
}
|
|
77096
|
+
}
|
|
77097
|
+
],
|
|
77098
|
+
"description": "Takes the height the rows leave free in a taller table, so the pinned column edges\nrun down to the footer instead of stopping at the last row. Not part of the grid."
|
|
77099
|
+
},
|
|
77086
77100
|
{
|
|
77087
77101
|
"kind": "method",
|
|
77088
77102
|
"name": "renderAggregateRow",
|
|
@@ -89881,450 +89895,3119 @@
|
|
|
89881
89895
|
},
|
|
89882
89896
|
{
|
|
89883
89897
|
"kind": "field",
|
|
89884
|
-
"name": "value",
|
|
89898
|
+
"name": "value",
|
|
89899
|
+
"type": {
|
|
89900
|
+
"text": "string | undefined"
|
|
89901
|
+
},
|
|
89902
|
+
"description": "Identifies the item in the container's `change` event.",
|
|
89903
|
+
"attribute": "value",
|
|
89904
|
+
"reflects": true,
|
|
89905
|
+
"inheritedFrom": {
|
|
89906
|
+
"name": "NavigationItemBase",
|
|
89907
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89908
|
+
}
|
|
89909
|
+
},
|
|
89910
|
+
{
|
|
89911
|
+
"kind": "field",
|
|
89912
|
+
"name": "badge",
|
|
89913
|
+
"type": {
|
|
89914
|
+
"text": "string | undefined"
|
|
89915
|
+
},
|
|
89916
|
+
"description": "Short text, such as an unread count. The `badge` slot overrides it.",
|
|
89917
|
+
"attribute": "badge",
|
|
89918
|
+
"inheritedFrom": {
|
|
89919
|
+
"name": "NavigationItemBase",
|
|
89920
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89921
|
+
}
|
|
89922
|
+
},
|
|
89923
|
+
{
|
|
89924
|
+
"kind": "field",
|
|
89925
|
+
"name": "disabledReason",
|
|
89926
|
+
"type": {
|
|
89927
|
+
"text": "string"
|
|
89928
|
+
},
|
|
89929
|
+
"default": "''",
|
|
89930
|
+
"description": "Reason the item is disabled, read to screen reader users.",
|
|
89931
|
+
"attribute": "disabled-reason",
|
|
89932
|
+
"inheritedFrom": {
|
|
89933
|
+
"name": "NavigationItemBase",
|
|
89934
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89935
|
+
}
|
|
89936
|
+
},
|
|
89937
|
+
{
|
|
89938
|
+
"kind": "field",
|
|
89939
|
+
"name": "throttleDelay",
|
|
89940
|
+
"type": {
|
|
89941
|
+
"text": "number | undefined"
|
|
89942
|
+
},
|
|
89943
|
+
"description": "Throttles activation clicks by this many milliseconds. No throttle when unset.",
|
|
89944
|
+
"attribute": "throttle-delay",
|
|
89945
|
+
"inheritedFrom": {
|
|
89946
|
+
"name": "NavigationItemBase",
|
|
89947
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89948
|
+
}
|
|
89949
|
+
},
|
|
89950
|
+
{
|
|
89951
|
+
"kind": "field",
|
|
89952
|
+
"name": "hasSlottedBadge",
|
|
89953
|
+
"type": {
|
|
89954
|
+
"text": "boolean"
|
|
89955
|
+
},
|
|
89956
|
+
"privacy": "protected",
|
|
89957
|
+
"default": "false",
|
|
89958
|
+
"description": "True when the `badge` slot has content.",
|
|
89959
|
+
"inheritedFrom": {
|
|
89960
|
+
"name": "NavigationItemBase",
|
|
89961
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89962
|
+
}
|
|
89963
|
+
},
|
|
89964
|
+
{
|
|
89965
|
+
"kind": "field",
|
|
89966
|
+
"name": "itemElement",
|
|
89967
|
+
"type": {
|
|
89968
|
+
"text": "HTMLElement | null"
|
|
89969
|
+
},
|
|
89970
|
+
"readonly": true,
|
|
89971
|
+
"inheritedFrom": {
|
|
89972
|
+
"name": "NavigationItemBase",
|
|
89973
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89974
|
+
}
|
|
89975
|
+
},
|
|
89976
|
+
{
|
|
89977
|
+
"kind": "field",
|
|
89978
|
+
"name": "#id",
|
|
89979
|
+
"privacy": "private",
|
|
89980
|
+
"readonly": true,
|
|
89981
|
+
"inheritedFrom": {
|
|
89982
|
+
"name": "NavigationItemBase",
|
|
89983
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89984
|
+
}
|
|
89985
|
+
},
|
|
89986
|
+
{
|
|
89987
|
+
"kind": "field",
|
|
89988
|
+
"name": "#dispatchClick",
|
|
89989
|
+
"privacy": "private",
|
|
89990
|
+
"type": {
|
|
89991
|
+
"text": "(event: MouseEvent) => void"
|
|
89992
|
+
},
|
|
89993
|
+
"description": "Forwards host clicks to the inner element, throttled once `throttleDelay` is known.",
|
|
89994
|
+
"inheritedFrom": {
|
|
89995
|
+
"name": "NavigationItemBase",
|
|
89996
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
89997
|
+
}
|
|
89998
|
+
},
|
|
89999
|
+
{
|
|
90000
|
+
"kind": "method",
|
|
90001
|
+
"name": "focus",
|
|
90002
|
+
"inheritedFrom": {
|
|
90003
|
+
"name": "NavigationItemBase",
|
|
90004
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90005
|
+
}
|
|
90006
|
+
},
|
|
90007
|
+
{
|
|
90008
|
+
"kind": "method",
|
|
90009
|
+
"name": "blur",
|
|
90010
|
+
"inheritedFrom": {
|
|
90011
|
+
"name": "NavigationItemBase",
|
|
90012
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90013
|
+
}
|
|
90014
|
+
},
|
|
90015
|
+
{
|
|
90016
|
+
"kind": "field",
|
|
90017
|
+
"name": "hasBadge",
|
|
90018
|
+
"type": {
|
|
90019
|
+
"text": "boolean"
|
|
90020
|
+
},
|
|
90021
|
+
"privacy": "protected",
|
|
90022
|
+
"description": "Whether the badge has anything to show.",
|
|
90023
|
+
"readonly": true,
|
|
90024
|
+
"inheritedFrom": {
|
|
90025
|
+
"name": "NavigationItemBase",
|
|
90026
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90027
|
+
}
|
|
90028
|
+
},
|
|
90029
|
+
{
|
|
90030
|
+
"kind": "method",
|
|
90031
|
+
"name": "handleBadgeSlotChange",
|
|
90032
|
+
"privacy": "protected",
|
|
90033
|
+
"parameters": [
|
|
90034
|
+
{
|
|
90035
|
+
"name": "event",
|
|
90036
|
+
"type": {
|
|
90037
|
+
"text": "Event"
|
|
90038
|
+
}
|
|
90039
|
+
}
|
|
90040
|
+
],
|
|
90041
|
+
"inheritedFrom": {
|
|
90042
|
+
"name": "NavigationItemBase",
|
|
90043
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90044
|
+
}
|
|
90045
|
+
},
|
|
90046
|
+
{
|
|
90047
|
+
"kind": "field",
|
|
90048
|
+
"name": "handleHostClick",
|
|
90049
|
+
"privacy": "private",
|
|
90050
|
+
"inheritedFrom": {
|
|
90051
|
+
"name": "NavigationItemBase",
|
|
90052
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90053
|
+
}
|
|
90054
|
+
},
|
|
90055
|
+
{
|
|
90056
|
+
"kind": "method",
|
|
90057
|
+
"name": "forwardClick",
|
|
90058
|
+
"privacy": "private",
|
|
90059
|
+
"parameters": [
|
|
90060
|
+
{
|
|
90061
|
+
"name": "event",
|
|
90062
|
+
"type": {
|
|
90063
|
+
"text": "MouseEvent"
|
|
90064
|
+
}
|
|
90065
|
+
}
|
|
90066
|
+
],
|
|
90067
|
+
"description": "A click on the host itself (`item.click()`) activates the inner link or button.",
|
|
90068
|
+
"inheritedFrom": {
|
|
90069
|
+
"name": "NavigationItemBase",
|
|
90070
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90071
|
+
}
|
|
90072
|
+
},
|
|
90073
|
+
{
|
|
90074
|
+
"kind": "method",
|
|
90075
|
+
"name": "renderBadge",
|
|
90076
|
+
"privacy": "protected",
|
|
90077
|
+
"inheritedFrom": {
|
|
90078
|
+
"name": "NavigationItemBase",
|
|
90079
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90080
|
+
}
|
|
90081
|
+
},
|
|
90082
|
+
{
|
|
90083
|
+
"kind": "method",
|
|
90084
|
+
"name": "renderDisabledReason",
|
|
90085
|
+
"privacy": "protected",
|
|
90086
|
+
"inheritedFrom": {
|
|
90087
|
+
"name": "NavigationItemBase",
|
|
90088
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90089
|
+
}
|
|
90090
|
+
}
|
|
90091
|
+
],
|
|
90092
|
+
"superclass": {
|
|
90093
|
+
"name": "NavigationItemBase",
|
|
90094
|
+
"package": "@/__internal/navigation-item-base.js"
|
|
90095
|
+
},
|
|
90096
|
+
"tagName": "wc-navigation-drawer-item",
|
|
90097
|
+
"customElement": true,
|
|
90098
|
+
"summary": "A destination in a navigation drawer.",
|
|
90099
|
+
"rawTag": {
|
|
90100
|
+
"name": "navigation-drawer-item",
|
|
90101
|
+
"description": ""
|
|
90102
|
+
},
|
|
90103
|
+
"attributes": [
|
|
90104
|
+
{
|
|
90105
|
+
"name": "current",
|
|
90106
|
+
"type": {
|
|
90107
|
+
"text": "boolean"
|
|
90108
|
+
},
|
|
90109
|
+
"default": "false",
|
|
90110
|
+
"description": "Whether this item is the current destination. Sets `aria-current=\"page\"`.",
|
|
90111
|
+
"fieldName": "current",
|
|
90112
|
+
"inheritedFrom": {
|
|
90113
|
+
"name": "NavigationItemBase",
|
|
90114
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90115
|
+
}
|
|
90116
|
+
},
|
|
90117
|
+
{
|
|
90118
|
+
"name": "disabled",
|
|
90119
|
+
"type": {
|
|
90120
|
+
"text": "boolean"
|
|
90121
|
+
},
|
|
90122
|
+
"default": "false",
|
|
90123
|
+
"description": "Whether this item is disabled.",
|
|
90124
|
+
"fieldName": "disabled",
|
|
90125
|
+
"inheritedFrom": {
|
|
90126
|
+
"name": "NavigationItemBase",
|
|
90127
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90128
|
+
}
|
|
90129
|
+
},
|
|
90130
|
+
{
|
|
90131
|
+
"name": "href",
|
|
90132
|
+
"type": {
|
|
90133
|
+
"text": "string | undefined"
|
|
90134
|
+
},
|
|
90135
|
+
"description": "If provided, the item renders as a link.",
|
|
90136
|
+
"fieldName": "href",
|
|
90137
|
+
"inheritedFrom": {
|
|
90138
|
+
"name": "NavigationItemBase",
|
|
90139
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90140
|
+
}
|
|
90141
|
+
},
|
|
90142
|
+
{
|
|
90143
|
+
"name": "target",
|
|
90144
|
+
"type": {
|
|
90145
|
+
"text": "string"
|
|
90146
|
+
},
|
|
90147
|
+
"default": "'_self'",
|
|
90148
|
+
"description": "Link target.",
|
|
90149
|
+
"fieldName": "target",
|
|
90150
|
+
"inheritedFrom": {
|
|
90151
|
+
"name": "NavigationItemBase",
|
|
90152
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90153
|
+
}
|
|
90154
|
+
},
|
|
90155
|
+
{
|
|
90156
|
+
"name": "value",
|
|
90157
|
+
"type": {
|
|
90158
|
+
"text": "string | undefined"
|
|
90159
|
+
},
|
|
90160
|
+
"description": "Identifies the item in the container's `change` event.",
|
|
90161
|
+
"fieldName": "value",
|
|
90162
|
+
"inheritedFrom": {
|
|
90163
|
+
"name": "NavigationItemBase",
|
|
90164
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90165
|
+
}
|
|
90166
|
+
},
|
|
90167
|
+
{
|
|
90168
|
+
"name": "badge",
|
|
90169
|
+
"type": {
|
|
90170
|
+
"text": "string | undefined"
|
|
90171
|
+
},
|
|
90172
|
+
"description": "Short text, such as an unread count. The `badge` slot overrides it.",
|
|
90173
|
+
"fieldName": "badge",
|
|
90174
|
+
"inheritedFrom": {
|
|
90175
|
+
"name": "NavigationItemBase",
|
|
90176
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90177
|
+
}
|
|
90178
|
+
},
|
|
90179
|
+
{
|
|
90180
|
+
"name": "disabled-reason",
|
|
90181
|
+
"type": {
|
|
90182
|
+
"text": "string"
|
|
90183
|
+
},
|
|
90184
|
+
"default": "''",
|
|
90185
|
+
"description": "Reason the item is disabled, read to screen reader users.",
|
|
90186
|
+
"fieldName": "disabledReason",
|
|
90187
|
+
"inheritedFrom": {
|
|
90188
|
+
"name": "NavigationItemBase",
|
|
90189
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90190
|
+
}
|
|
90191
|
+
},
|
|
90192
|
+
{
|
|
90193
|
+
"name": "throttle-delay",
|
|
90194
|
+
"type": {
|
|
90195
|
+
"text": "number | undefined"
|
|
90196
|
+
},
|
|
90197
|
+
"description": "Throttles activation clicks by this many milliseconds. No throttle when unset.",
|
|
90198
|
+
"fieldName": "throttleDelay",
|
|
90199
|
+
"inheritedFrom": {
|
|
90200
|
+
"name": "NavigationItemBase",
|
|
90201
|
+
"module": "src/__internal/navigation-item-base.ts"
|
|
90202
|
+
}
|
|
90203
|
+
}
|
|
90204
|
+
]
|
|
90205
|
+
}
|
|
90206
|
+
],
|
|
90207
|
+
"exports": [
|
|
90208
|
+
{
|
|
90209
|
+
"kind": "js",
|
|
90210
|
+
"name": "NavigationDrawerItem",
|
|
90211
|
+
"declaration": {
|
|
90212
|
+
"name": "NavigationDrawerItem",
|
|
90213
|
+
"module": "src/navigation-drawer/navigation-drawer-item.ts"
|
|
90214
|
+
}
|
|
90215
|
+
}
|
|
90216
|
+
]
|
|
90217
|
+
},
|
|
90218
|
+
{
|
|
90219
|
+
"kind": "javascript-module",
|
|
90220
|
+
"path": "src/navigation-drawer/navigation-drawer-group.ts",
|
|
90221
|
+
"declarations": [
|
|
90222
|
+
{
|
|
90223
|
+
"kind": "class",
|
|
90224
|
+
"description": "",
|
|
90225
|
+
"name": "NavigationDrawerGroup",
|
|
90226
|
+
"slots": [
|
|
90227
|
+
{
|
|
90228
|
+
"description": "The group's items, and nested groups.",
|
|
90229
|
+
"name": ""
|
|
90230
|
+
},
|
|
90231
|
+
{
|
|
90232
|
+
"description": "The header's label.",
|
|
90233
|
+
"name": "label"
|
|
90234
|
+
},
|
|
90235
|
+
{
|
|
90236
|
+
"description": "The header's leading icon.",
|
|
90237
|
+
"name": "icon"
|
|
90238
|
+
}
|
|
90239
|
+
],
|
|
90240
|
+
"members": [
|
|
90241
|
+
{
|
|
90242
|
+
"kind": "field",
|
|
90243
|
+
"name": "shadowRootOptions",
|
|
90244
|
+
"type": {
|
|
90245
|
+
"text": "object"
|
|
90246
|
+
},
|
|
90247
|
+
"static": true,
|
|
90248
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
90249
|
+
},
|
|
90250
|
+
{
|
|
90251
|
+
"kind": "field",
|
|
90252
|
+
"name": "expanded",
|
|
90253
|
+
"type": {
|
|
90254
|
+
"text": "boolean"
|
|
90255
|
+
},
|
|
90256
|
+
"default": "false",
|
|
90257
|
+
"description": "Whether the group's items are shown.",
|
|
90258
|
+
"attribute": "expanded",
|
|
90259
|
+
"reflects": true
|
|
90260
|
+
},
|
|
90261
|
+
{
|
|
90262
|
+
"kind": "field",
|
|
90263
|
+
"name": "disabled",
|
|
90264
|
+
"type": {
|
|
90265
|
+
"text": "boolean"
|
|
90266
|
+
},
|
|
90267
|
+
"default": "false",
|
|
90268
|
+
"description": "Whether the header is disabled.",
|
|
90269
|
+
"attribute": "disabled",
|
|
90270
|
+
"reflects": true
|
|
90271
|
+
},
|
|
90272
|
+
{
|
|
90273
|
+
"kind": "field",
|
|
90274
|
+
"name": "hasIcon",
|
|
90275
|
+
"type": {
|
|
90276
|
+
"text": "boolean"
|
|
90277
|
+
},
|
|
90278
|
+
"privacy": "private",
|
|
90279
|
+
"default": "false",
|
|
90280
|
+
"description": "True when the `icon` slot has content."
|
|
90281
|
+
},
|
|
90282
|
+
{
|
|
90283
|
+
"kind": "field",
|
|
90284
|
+
"name": "headerElement",
|
|
90285
|
+
"type": {
|
|
90286
|
+
"text": "HTMLButtonElement | null"
|
|
90287
|
+
},
|
|
90288
|
+
"readonly": true
|
|
90289
|
+
},
|
|
90290
|
+
{
|
|
90291
|
+
"kind": "field",
|
|
90292
|
+
"name": "checkedForCurrent",
|
|
90293
|
+
"type": {
|
|
90294
|
+
"text": "boolean"
|
|
90295
|
+
},
|
|
90296
|
+
"privacy": "private",
|
|
90297
|
+
"default": "false",
|
|
90298
|
+
"description": "Whether the group has looked for a current item to expand towards."
|
|
90299
|
+
},
|
|
90300
|
+
{
|
|
90301
|
+
"kind": "method",
|
|
90302
|
+
"name": "focus"
|
|
90303
|
+
},
|
|
90304
|
+
{
|
|
90305
|
+
"kind": "method",
|
|
90306
|
+
"name": "blur"
|
|
90307
|
+
},
|
|
90308
|
+
{
|
|
90309
|
+
"kind": "method",
|
|
90310
|
+
"name": "toggle",
|
|
90311
|
+
"parameters": [
|
|
90312
|
+
{
|
|
90313
|
+
"name": "force",
|
|
90314
|
+
"optional": true,
|
|
90315
|
+
"type": {
|
|
90316
|
+
"text": "boolean"
|
|
90317
|
+
}
|
|
90318
|
+
}
|
|
90319
|
+
],
|
|
90320
|
+
"description": "Expands or collapses the group."
|
|
90321
|
+
},
|
|
90322
|
+
{
|
|
90323
|
+
"kind": "method",
|
|
90324
|
+
"name": "expandTowardsCurrent",
|
|
90325
|
+
"privacy": "private",
|
|
90326
|
+
"description": "Expands once if the group holds the current item, so the current page is visible."
|
|
90327
|
+
},
|
|
90328
|
+
{
|
|
90329
|
+
"kind": "method",
|
|
90330
|
+
"name": "handleHeaderClick",
|
|
90331
|
+
"privacy": "private"
|
|
90332
|
+
},
|
|
90333
|
+
{
|
|
90334
|
+
"kind": "method",
|
|
90335
|
+
"name": "handleIconSlotChange",
|
|
90336
|
+
"privacy": "private",
|
|
90337
|
+
"parameters": [
|
|
90338
|
+
{
|
|
90339
|
+
"name": "event",
|
|
90340
|
+
"type": {
|
|
90341
|
+
"text": "Event"
|
|
90342
|
+
}
|
|
90343
|
+
}
|
|
90344
|
+
]
|
|
90345
|
+
}
|
|
90346
|
+
],
|
|
90347
|
+
"events": [
|
|
90348
|
+
{
|
|
90349
|
+
"type": {
|
|
90350
|
+
"text": "CustomEvent"
|
|
90351
|
+
}
|
|
90352
|
+
},
|
|
90353
|
+
{
|
|
90354
|
+
"type": {
|
|
90355
|
+
"text": "CustomEvent"
|
|
90356
|
+
},
|
|
90357
|
+
"description": "Dispatched on the group when the user expands it. Does not bubble, so it is not mistaken for the drawer's own `open`.",
|
|
90358
|
+
"name": "open"
|
|
90359
|
+
},
|
|
90360
|
+
{
|
|
90361
|
+
"type": {
|
|
90362
|
+
"text": "CustomEvent<{reason: 'action'}>"
|
|
90363
|
+
},
|
|
90364
|
+
"description": "Dispatched on the group when the user collapses it. Does not bubble.",
|
|
90365
|
+
"name": "close"
|
|
90366
|
+
}
|
|
90367
|
+
],
|
|
90368
|
+
"attributes": [
|
|
90369
|
+
{
|
|
90370
|
+
"name": "expanded",
|
|
90371
|
+
"type": {
|
|
90372
|
+
"text": "boolean"
|
|
90373
|
+
},
|
|
90374
|
+
"default": "false",
|
|
90375
|
+
"description": "Whether the group's items are shown.",
|
|
90376
|
+
"fieldName": "expanded"
|
|
90377
|
+
},
|
|
90378
|
+
{
|
|
90379
|
+
"name": "disabled",
|
|
90380
|
+
"type": {
|
|
90381
|
+
"text": "boolean"
|
|
90382
|
+
},
|
|
90383
|
+
"default": "false",
|
|
90384
|
+
"description": "Whether the header is disabled.",
|
|
90385
|
+
"fieldName": "disabled"
|
|
90386
|
+
}
|
|
90387
|
+
],
|
|
90388
|
+
"superclass": {
|
|
90389
|
+
"name": "LitElement",
|
|
90390
|
+
"package": "lit"
|
|
90391
|
+
},
|
|
90392
|
+
"tagName": "wc-navigation-drawer-group",
|
|
90393
|
+
"customElement": true,
|
|
90394
|
+
"summary": "An expandable section of a navigation drawer.",
|
|
90395
|
+
"rawTag": {
|
|
90396
|
+
"name": "navigation-drawer-group",
|
|
90397
|
+
"description": ""
|
|
90398
|
+
}
|
|
90399
|
+
}
|
|
90400
|
+
],
|
|
90401
|
+
"exports": [
|
|
90402
|
+
{
|
|
90403
|
+
"kind": "js",
|
|
90404
|
+
"name": "NavigationDrawerGroup",
|
|
90405
|
+
"declaration": {
|
|
90406
|
+
"name": "NavigationDrawerGroup",
|
|
90407
|
+
"module": "src/navigation-drawer/navigation-drawer-group.ts"
|
|
90408
|
+
}
|
|
90409
|
+
}
|
|
90410
|
+
]
|
|
90411
|
+
},
|
|
90412
|
+
{
|
|
90413
|
+
"kind": "javascript-module",
|
|
90414
|
+
"path": "src/navigation-drawer/navigation-drawer.ts",
|
|
90415
|
+
"declarations": [
|
|
90416
|
+
{
|
|
90417
|
+
"kind": "class",
|
|
90418
|
+
"description": "",
|
|
90419
|
+
"name": "NavigationDrawer",
|
|
90420
|
+
"cssProperties": [
|
|
90421
|
+
{
|
|
90422
|
+
"description": "Width of the drawer. Defaults to 22.5rem (360dp).",
|
|
90423
|
+
"name": "--navigation-drawer-width"
|
|
90424
|
+
},
|
|
90425
|
+
{
|
|
90426
|
+
"description": "Background of the drawer. Defaults to `--color-surface-container-low`.",
|
|
90427
|
+
"name": "--navigation-drawer-container-color"
|
|
90428
|
+
}
|
|
90429
|
+
],
|
|
90430
|
+
"slots": [
|
|
90431
|
+
{
|
|
90432
|
+
"description": "The drawer items and groups. Other content, such as `wc-divider` or section titles, works too.",
|
|
90433
|
+
"name": ""
|
|
90434
|
+
},
|
|
90435
|
+
{
|
|
90436
|
+
"description": "Content above the items, after the headline.",
|
|
90437
|
+
"name": "header"
|
|
90438
|
+
}
|
|
90439
|
+
],
|
|
90440
|
+
"members": [
|
|
90441
|
+
{
|
|
90442
|
+
"kind": "field",
|
|
90443
|
+
"name": "Item",
|
|
90444
|
+
"static": true,
|
|
90445
|
+
"default": "NavigationDrawerItem"
|
|
90446
|
+
},
|
|
90447
|
+
{
|
|
90448
|
+
"kind": "field",
|
|
90449
|
+
"name": "Group",
|
|
90450
|
+
"static": true,
|
|
90451
|
+
"default": "NavigationDrawerGroup"
|
|
90452
|
+
},
|
|
90453
|
+
{
|
|
90454
|
+
"kind": "field",
|
|
90455
|
+
"name": "open",
|
|
90456
|
+
"type": {
|
|
90457
|
+
"text": "boolean"
|
|
90458
|
+
},
|
|
90459
|
+
"default": "false",
|
|
90460
|
+
"description": "Whether the drawer is shown.",
|
|
90461
|
+
"attribute": "open",
|
|
90462
|
+
"reflects": true
|
|
90463
|
+
},
|
|
90464
|
+
{
|
|
90465
|
+
"kind": "field",
|
|
90466
|
+
"name": "variant",
|
|
90467
|
+
"type": {
|
|
90468
|
+
"text": "'standard' | 'modal'"
|
|
90469
|
+
},
|
|
90470
|
+
"default": "'standard'",
|
|
90471
|
+
"description": "`\"standard\"` sits in the layout; `\"modal\"` opens over the page with a scrim.",
|
|
90472
|
+
"attribute": "variant",
|
|
90473
|
+
"reflects": true
|
|
90474
|
+
},
|
|
90475
|
+
{
|
|
90476
|
+
"kind": "field",
|
|
90477
|
+
"name": "headline",
|
|
90478
|
+
"type": {
|
|
90479
|
+
"text": "string"
|
|
90480
|
+
},
|
|
90481
|
+
"default": "''",
|
|
90482
|
+
"description": "Title shown at the top of the drawer.",
|
|
90483
|
+
"attribute": "headline"
|
|
90484
|
+
},
|
|
90485
|
+
{
|
|
90486
|
+
"kind": "field",
|
|
90487
|
+
"name": "dialogElement",
|
|
90488
|
+
"type": {
|
|
90489
|
+
"text": "HTMLDialogElement | undefined"
|
|
90490
|
+
},
|
|
90491
|
+
"privacy": "private"
|
|
90492
|
+
},
|
|
90493
|
+
{
|
|
90494
|
+
"kind": "field",
|
|
90495
|
+
"name": "i18n",
|
|
90496
|
+
"privacy": "private",
|
|
90497
|
+
"readonly": true,
|
|
90498
|
+
"default": "new I18nController(this)",
|
|
90499
|
+
"description": "Peacock's strings for the landmark label."
|
|
90500
|
+
},
|
|
90501
|
+
{
|
|
90502
|
+
"kind": "method",
|
|
90503
|
+
"name": "show",
|
|
90504
|
+
"description": "Opens the drawer."
|
|
90505
|
+
},
|
|
90506
|
+
{
|
|
90507
|
+
"kind": "method",
|
|
90508
|
+
"name": "close",
|
|
90509
|
+
"description": "Closes the drawer."
|
|
90510
|
+
},
|
|
90511
|
+
{
|
|
90512
|
+
"kind": "method",
|
|
90513
|
+
"name": "getItems",
|
|
90514
|
+
"privacy": "private",
|
|
90515
|
+
"return": {
|
|
90516
|
+
"type": {
|
|
90517
|
+
"text": "NavigationDrawerItem[]"
|
|
90518
|
+
}
|
|
90519
|
+
}
|
|
90520
|
+
},
|
|
90521
|
+
{
|
|
90522
|
+
"kind": "method",
|
|
90523
|
+
"name": "syncDialog",
|
|
90524
|
+
"privacy": "private"
|
|
90525
|
+
},
|
|
90526
|
+
{
|
|
90527
|
+
"kind": "field",
|
|
90528
|
+
"name": "handleItemClick",
|
|
90529
|
+
"privacy": "private"
|
|
90530
|
+
},
|
|
90531
|
+
{
|
|
90532
|
+
"kind": "method",
|
|
90533
|
+
"name": "handleCancel",
|
|
90534
|
+
"privacy": "private",
|
|
90535
|
+
"parameters": [
|
|
90536
|
+
{
|
|
90537
|
+
"name": "event",
|
|
90538
|
+
"type": {
|
|
90539
|
+
"text": "Event"
|
|
90540
|
+
}
|
|
90541
|
+
}
|
|
90542
|
+
],
|
|
90543
|
+
"description": "Escape: close through `open` so the property stays the source of truth."
|
|
90544
|
+
},
|
|
90545
|
+
{
|
|
90546
|
+
"kind": "method",
|
|
90547
|
+
"name": "handleDialogClick",
|
|
90548
|
+
"privacy": "private",
|
|
90549
|
+
"parameters": [
|
|
90550
|
+
{
|
|
90551
|
+
"name": "event",
|
|
90552
|
+
"type": {
|
|
90553
|
+
"text": "MouseEvent"
|
|
90554
|
+
}
|
|
90555
|
+
}
|
|
90556
|
+
],
|
|
90557
|
+
"description": "A click that lands on the dialog itself, not its content, is a scrim click."
|
|
90558
|
+
},
|
|
90559
|
+
{
|
|
90560
|
+
"kind": "method",
|
|
90561
|
+
"name": "renderContent",
|
|
90562
|
+
"privacy": "private"
|
|
90563
|
+
}
|
|
90564
|
+
],
|
|
90565
|
+
"events": [
|
|
90566
|
+
{
|
|
90567
|
+
"type": {
|
|
90568
|
+
"text": "CustomEvent"
|
|
90569
|
+
}
|
|
90570
|
+
},
|
|
90571
|
+
{
|
|
90572
|
+
"type": {
|
|
90573
|
+
"text": "CustomEvent<{value: string | undefined, index: number, item: NavigationDrawerItem}>"
|
|
90574
|
+
},
|
|
90575
|
+
"description": "Dispatched when the user activates an item. `index` counts every item in the drawer, in groups too, in document order.",
|
|
90576
|
+
"name": "change"
|
|
90577
|
+
},
|
|
90578
|
+
{
|
|
90579
|
+
"type": {
|
|
90580
|
+
"text": "CustomEvent"
|
|
90581
|
+
},
|
|
90582
|
+
"description": "Dispatched when the drawer opens.",
|
|
90583
|
+
"name": "open"
|
|
90584
|
+
},
|
|
90585
|
+
{
|
|
90586
|
+
"type": {
|
|
90587
|
+
"text": "CustomEvent"
|
|
90588
|
+
},
|
|
90589
|
+
"description": "Dispatched when the drawer closes.",
|
|
90590
|
+
"name": "close"
|
|
90591
|
+
}
|
|
90592
|
+
],
|
|
90593
|
+
"attributes": [
|
|
90594
|
+
{
|
|
90595
|
+
"name": "open",
|
|
90596
|
+
"type": {
|
|
90597
|
+
"text": "boolean"
|
|
90598
|
+
},
|
|
90599
|
+
"default": "false",
|
|
90600
|
+
"description": "Whether the drawer is shown.",
|
|
90601
|
+
"fieldName": "open"
|
|
90602
|
+
},
|
|
90603
|
+
{
|
|
90604
|
+
"name": "variant",
|
|
90605
|
+
"type": {
|
|
90606
|
+
"text": "'standard' | 'modal'"
|
|
90607
|
+
},
|
|
90608
|
+
"default": "'standard'",
|
|
90609
|
+
"description": "`\"standard\"` sits in the layout; `\"modal\"` opens over the page with a scrim.",
|
|
90610
|
+
"fieldName": "variant"
|
|
90611
|
+
},
|
|
90612
|
+
{
|
|
90613
|
+
"name": "headline",
|
|
90614
|
+
"type": {
|
|
90615
|
+
"text": "string"
|
|
90616
|
+
},
|
|
90617
|
+
"default": "''",
|
|
90618
|
+
"description": "Title shown at the top of the drawer.",
|
|
90619
|
+
"fieldName": "headline"
|
|
90620
|
+
}
|
|
90621
|
+
],
|
|
90622
|
+
"superclass": {
|
|
90623
|
+
"name": "LitElement",
|
|
90624
|
+
"package": "lit"
|
|
90625
|
+
},
|
|
90626
|
+
"tagName": "wc-navigation-drawer",
|
|
90627
|
+
"customElement": true,
|
|
90628
|
+
"summary": "A side panel listing an app's destinations.",
|
|
90629
|
+
"rawTag": {
|
|
90630
|
+
"name": "navigation-drawer",
|
|
90631
|
+
"description": ""
|
|
90632
|
+
}
|
|
90633
|
+
}
|
|
90634
|
+
],
|
|
90635
|
+
"exports": [
|
|
90636
|
+
{
|
|
90637
|
+
"kind": "js",
|
|
90638
|
+
"name": "NavigationDrawer",
|
|
90639
|
+
"declaration": {
|
|
90640
|
+
"name": "NavigationDrawer",
|
|
90641
|
+
"module": "src/navigation-drawer/navigation-drawer.ts"
|
|
90642
|
+
}
|
|
90643
|
+
}
|
|
90644
|
+
]
|
|
90645
|
+
},
|
|
90646
|
+
{
|
|
90647
|
+
"kind": "javascript-module",
|
|
90648
|
+
"path": "src/navigation-drawer/index.ts",
|
|
90649
|
+
"declarations": [],
|
|
90650
|
+
"exports": [
|
|
90651
|
+
{
|
|
90652
|
+
"kind": "js",
|
|
90653
|
+
"name": "NavigationDrawer",
|
|
90654
|
+
"declaration": {
|
|
90655
|
+
"name": "NavigationDrawer",
|
|
90656
|
+
"module": "./navigation-drawer.js"
|
|
90657
|
+
}
|
|
90658
|
+
},
|
|
90659
|
+
{
|
|
90660
|
+
"kind": "js",
|
|
90661
|
+
"name": "NavigationDrawerItem",
|
|
90662
|
+
"declaration": {
|
|
90663
|
+
"name": "NavigationDrawerItem",
|
|
90664
|
+
"module": "./navigation-drawer-item.js"
|
|
90665
|
+
}
|
|
90666
|
+
},
|
|
90667
|
+
{
|
|
90668
|
+
"kind": "js",
|
|
90669
|
+
"name": "NavigationDrawerGroup",
|
|
90670
|
+
"declaration": {
|
|
90671
|
+
"name": "NavigationDrawerGroup",
|
|
90672
|
+
"module": "./navigation-drawer-group.js"
|
|
90673
|
+
}
|
|
90674
|
+
}
|
|
90675
|
+
]
|
|
90676
|
+
},
|
|
90677
|
+
{
|
|
90678
|
+
"kind": "javascript-module",
|
|
90679
|
+
"path": "src/site-header/site-nav-shared.ts",
|
|
90680
|
+
"declarations": [
|
|
90681
|
+
{
|
|
90682
|
+
"kind": "variable",
|
|
90683
|
+
"name": "NAV_PARTS",
|
|
90684
|
+
"type": {
|
|
90685
|
+
"text": "{\n header: 'wc-site-header',\n menu: 'wc-site-nav-menu',\n group: 'wc-site-nav-group',\n link: 'wc-site-nav-link',\n}"
|
|
90686
|
+
},
|
|
90687
|
+
"default": "{ header: 'wc-site-header', menu: 'wc-site-nav-menu', group: 'wc-site-nav-group', link: 'wc-site-nav-link', }",
|
|
90688
|
+
"description": "Tags of the site header's navigation parts."
|
|
90689
|
+
},
|
|
90690
|
+
{
|
|
90691
|
+
"kind": "variable",
|
|
90692
|
+
"name": "COLLAPSED_ATTRIBUTE",
|
|
90693
|
+
"type": {
|
|
90694
|
+
"text": "string"
|
|
90695
|
+
},
|
|
90696
|
+
"default": "'data-collapsed'",
|
|
90697
|
+
"description": "Attribute a header sets on its navigation parts while it is collapsed into a drawer."
|
|
90698
|
+
},
|
|
90699
|
+
{
|
|
90700
|
+
"kind": "function",
|
|
90701
|
+
"name": "syncCollapsed",
|
|
90702
|
+
"parameters": [
|
|
90703
|
+
{
|
|
90704
|
+
"name": "header",
|
|
90705
|
+
"type": {
|
|
90706
|
+
"text": "Element"
|
|
90707
|
+
}
|
|
90708
|
+
},
|
|
90709
|
+
{
|
|
90710
|
+
"name": "collapsed",
|
|
90711
|
+
"type": {
|
|
90712
|
+
"text": "boolean"
|
|
90713
|
+
}
|
|
90714
|
+
}
|
|
90715
|
+
],
|
|
90716
|
+
"description": "Marks every navigation part inside `header` as collapsed or not."
|
|
90717
|
+
},
|
|
90718
|
+
{
|
|
90719
|
+
"kind": "function",
|
|
90720
|
+
"name": "adoptCollapsed",
|
|
90721
|
+
"parameters": [
|
|
90722
|
+
{
|
|
90723
|
+
"name": "part",
|
|
90724
|
+
"type": {
|
|
90725
|
+
"text": "Element"
|
|
90726
|
+
}
|
|
90727
|
+
}
|
|
90728
|
+
],
|
|
90729
|
+
"description": "For a part connected after its header rendered: take the header's collapsed state."
|
|
90730
|
+
}
|
|
90731
|
+
],
|
|
90732
|
+
"exports": [
|
|
90733
|
+
{
|
|
90734
|
+
"kind": "js",
|
|
90735
|
+
"name": "NAV_PARTS",
|
|
90736
|
+
"declaration": {
|
|
90737
|
+
"name": "NAV_PARTS",
|
|
90738
|
+
"module": "src/site-header/site-nav-shared.ts"
|
|
90739
|
+
}
|
|
90740
|
+
},
|
|
90741
|
+
{
|
|
90742
|
+
"kind": "js",
|
|
90743
|
+
"name": "COLLAPSED_ATTRIBUTE",
|
|
90744
|
+
"declaration": {
|
|
90745
|
+
"name": "COLLAPSED_ATTRIBUTE",
|
|
90746
|
+
"module": "src/site-header/site-nav-shared.ts"
|
|
90747
|
+
}
|
|
90748
|
+
},
|
|
90749
|
+
{
|
|
90750
|
+
"kind": "js",
|
|
90751
|
+
"name": "syncCollapsed",
|
|
90752
|
+
"declaration": {
|
|
90753
|
+
"name": "syncCollapsed",
|
|
90754
|
+
"module": "src/site-header/site-nav-shared.ts"
|
|
90755
|
+
}
|
|
90756
|
+
},
|
|
90757
|
+
{
|
|
90758
|
+
"kind": "js",
|
|
90759
|
+
"name": "adoptCollapsed",
|
|
90760
|
+
"declaration": {
|
|
90761
|
+
"name": "adoptCollapsed",
|
|
90762
|
+
"module": "src/site-header/site-nav-shared.ts"
|
|
90763
|
+
}
|
|
90764
|
+
}
|
|
90765
|
+
]
|
|
90766
|
+
},
|
|
90767
|
+
{
|
|
90768
|
+
"kind": "javascript-module",
|
|
90769
|
+
"path": "src/site-header/site-nav-menu.ts",
|
|
90770
|
+
"declarations": [
|
|
90771
|
+
{
|
|
90772
|
+
"kind": "class",
|
|
90773
|
+
"description": "",
|
|
90774
|
+
"name": "SiteNavMenu",
|
|
90775
|
+
"cssProperties": [
|
|
90776
|
+
{
|
|
90777
|
+
"description": "Width of a `list` panel. Defaults to 16rem.",
|
|
90778
|
+
"name": "--site-nav-menu-panel-width"
|
|
90779
|
+
},
|
|
90780
|
+
{
|
|
90781
|
+
"description": "Widest a `columns` panel grows. Defaults to 60rem.",
|
|
90782
|
+
"name": "--site-nav-menu-columns-max-width"
|
|
90783
|
+
}
|
|
90784
|
+
],
|
|
90785
|
+
"cssParts": [
|
|
90786
|
+
{
|
|
90787
|
+
"description": "The disclosure button.",
|
|
90788
|
+
"name": "trigger"
|
|
90789
|
+
},
|
|
90790
|
+
{
|
|
90791
|
+
"description": "The panel of links.",
|
|
90792
|
+
"name": "panel"
|
|
90793
|
+
}
|
|
90794
|
+
],
|
|
90795
|
+
"slots": [
|
|
90796
|
+
{
|
|
90797
|
+
"description": "The panel's `wc-site-nav-link` and `wc-site-nav-group` elements.",
|
|
90798
|
+
"name": ""
|
|
90799
|
+
},
|
|
90800
|
+
{
|
|
90801
|
+
"description": "A card shown at the end of a `columns` panel, such as a `wc-card` announcing news. Left out of the drawer.",
|
|
90802
|
+
"name": "feature"
|
|
90803
|
+
}
|
|
90804
|
+
],
|
|
90805
|
+
"members": [
|
|
90806
|
+
{
|
|
90807
|
+
"kind": "field",
|
|
90808
|
+
"name": "shadowRootOptions",
|
|
90809
|
+
"type": {
|
|
90810
|
+
"text": "object"
|
|
90811
|
+
},
|
|
90812
|
+
"static": true,
|
|
90813
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
90814
|
+
},
|
|
90815
|
+
{
|
|
90816
|
+
"kind": "field",
|
|
90817
|
+
"name": "label",
|
|
90818
|
+
"type": {
|
|
90819
|
+
"text": "string"
|
|
90820
|
+
},
|
|
90821
|
+
"default": "''",
|
|
90822
|
+
"description": "The button's text.",
|
|
90823
|
+
"attribute": "label"
|
|
90824
|
+
},
|
|
90825
|
+
{
|
|
90826
|
+
"kind": "field",
|
|
90827
|
+
"name": "open",
|
|
90828
|
+
"type": {
|
|
90829
|
+
"text": "boolean"
|
|
90830
|
+
},
|
|
90831
|
+
"default": "false",
|
|
90832
|
+
"description": "Whether the panel is open.",
|
|
90833
|
+
"attribute": "open",
|
|
90834
|
+
"reflects": true
|
|
90835
|
+
},
|
|
90836
|
+
{
|
|
90837
|
+
"kind": "field",
|
|
90838
|
+
"name": "layout",
|
|
90839
|
+
"type": {
|
|
90840
|
+
"text": "'list' | 'columns'"
|
|
90841
|
+
},
|
|
90842
|
+
"default": "'list'",
|
|
90843
|
+
"description": "`\"list\"`: a short list under the button; `\"columns\"`: a wide panel of groups.",
|
|
90844
|
+
"attribute": "layout",
|
|
90845
|
+
"reflects": true
|
|
90846
|
+
},
|
|
90847
|
+
{
|
|
90848
|
+
"kind": "field",
|
|
90849
|
+
"name": "hasFeature",
|
|
90850
|
+
"type": {
|
|
90851
|
+
"text": "boolean"
|
|
90852
|
+
},
|
|
90853
|
+
"privacy": "private",
|
|
90854
|
+
"default": "false",
|
|
90855
|
+
"description": "True when the `feature` slot has content."
|
|
90856
|
+
},
|
|
90857
|
+
{
|
|
90858
|
+
"kind": "field",
|
|
90859
|
+
"name": "triggerElement",
|
|
90860
|
+
"type": {
|
|
90861
|
+
"text": "HTMLButtonElement | undefined"
|
|
90862
|
+
},
|
|
90863
|
+
"privacy": "private"
|
|
90864
|
+
},
|
|
90865
|
+
{
|
|
90866
|
+
"kind": "field",
|
|
90867
|
+
"name": "hoverTimer",
|
|
90868
|
+
"type": {
|
|
90869
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
90870
|
+
},
|
|
90871
|
+
"privacy": "private",
|
|
90872
|
+
"description": "Pending open or close from `open-on-hover`."
|
|
90873
|
+
},
|
|
90874
|
+
{
|
|
90875
|
+
"kind": "method",
|
|
90876
|
+
"name": "focus"
|
|
90877
|
+
},
|
|
90878
|
+
{
|
|
90879
|
+
"kind": "method",
|
|
90880
|
+
"name": "blur"
|
|
90881
|
+
},
|
|
90882
|
+
{
|
|
90883
|
+
"kind": "field",
|
|
90884
|
+
"name": "collapsed",
|
|
90885
|
+
"privacy": "private",
|
|
90886
|
+
"description": "Whether the header has moved the navigation into its drawer.",
|
|
90887
|
+
"readonly": true
|
|
90888
|
+
},
|
|
90889
|
+
{
|
|
90890
|
+
"kind": "method",
|
|
90891
|
+
"name": "holdsCurrent",
|
|
90892
|
+
"privacy": "private",
|
|
90893
|
+
"return": {
|
|
90894
|
+
"type": {
|
|
90895
|
+
"text": "boolean"
|
|
90896
|
+
}
|
|
90897
|
+
}
|
|
90898
|
+
},
|
|
90899
|
+
{
|
|
90900
|
+
"kind": "method",
|
|
90901
|
+
"name": "links",
|
|
90902
|
+
"privacy": "private",
|
|
90903
|
+
"return": {
|
|
90904
|
+
"type": {
|
|
90905
|
+
"text": "HTMLElement[]"
|
|
90906
|
+
}
|
|
90907
|
+
}
|
|
90908
|
+
},
|
|
90909
|
+
{
|
|
90910
|
+
"kind": "method",
|
|
90911
|
+
"name": "header",
|
|
90912
|
+
"privacy": "private",
|
|
90913
|
+
"return": {
|
|
90914
|
+
"type": {
|
|
90915
|
+
"text": "(HTMLElement & { openOnHover?: boolean }) | null"
|
|
90916
|
+
}
|
|
90917
|
+
}
|
|
90918
|
+
},
|
|
90919
|
+
{
|
|
90920
|
+
"kind": "method",
|
|
90921
|
+
"name": "setOpen",
|
|
90922
|
+
"privacy": "private",
|
|
90923
|
+
"parameters": [
|
|
90924
|
+
{
|
|
90925
|
+
"name": "open",
|
|
90926
|
+
"type": {
|
|
90927
|
+
"text": "boolean"
|
|
90928
|
+
}
|
|
90929
|
+
},
|
|
90930
|
+
{
|
|
90931
|
+
"name": "reason",
|
|
90932
|
+
"default": "'action'",
|
|
90933
|
+
"type": {
|
|
90934
|
+
"text": "SiteNavMenuCloseReason"
|
|
90935
|
+
}
|
|
90936
|
+
}
|
|
90937
|
+
],
|
|
90938
|
+
"description": "Opens or closes as the person asked, and says so."
|
|
90939
|
+
},
|
|
90940
|
+
{
|
|
90941
|
+
"kind": "method",
|
|
90942
|
+
"name": "listenOutside",
|
|
90943
|
+
"privacy": "private"
|
|
90944
|
+
},
|
|
90945
|
+
{
|
|
90946
|
+
"kind": "method",
|
|
90947
|
+
"name": "stopListeningOutside",
|
|
90948
|
+
"privacy": "private"
|
|
90949
|
+
},
|
|
90950
|
+
{
|
|
90951
|
+
"kind": "field",
|
|
90952
|
+
"name": "handleDocumentPointerDown",
|
|
90953
|
+
"privacy": "private"
|
|
90954
|
+
},
|
|
90955
|
+
{
|
|
90956
|
+
"kind": "method",
|
|
90957
|
+
"name": "handleTriggerClick",
|
|
90958
|
+
"privacy": "private"
|
|
90959
|
+
},
|
|
90960
|
+
{
|
|
90961
|
+
"kind": "method",
|
|
90962
|
+
"name": "handleKeydown",
|
|
90963
|
+
"privacy": "private",
|
|
90964
|
+
"parameters": [
|
|
90965
|
+
{
|
|
90966
|
+
"name": "event",
|
|
90967
|
+
"type": {
|
|
90968
|
+
"text": "KeyboardEvent"
|
|
90969
|
+
}
|
|
90970
|
+
}
|
|
90971
|
+
]
|
|
90972
|
+
},
|
|
90973
|
+
{
|
|
90974
|
+
"kind": "method",
|
|
90975
|
+
"name": "handleFocusOut",
|
|
90976
|
+
"privacy": "private",
|
|
90977
|
+
"parameters": [
|
|
90978
|
+
{
|
|
90979
|
+
"name": "event",
|
|
90980
|
+
"type": {
|
|
90981
|
+
"text": "FocusEvent"
|
|
90982
|
+
}
|
|
90983
|
+
}
|
|
90984
|
+
],
|
|
90985
|
+
"description": "Focus leaving the menu (to the next link in the bar, say) closes its panel."
|
|
90986
|
+
},
|
|
90987
|
+
{
|
|
90988
|
+
"kind": "method",
|
|
90989
|
+
"name": "handlePointerEnter",
|
|
90990
|
+
"privacy": "private",
|
|
90991
|
+
"parameters": [
|
|
90992
|
+
{
|
|
90993
|
+
"name": "event",
|
|
90994
|
+
"type": {
|
|
90995
|
+
"text": "PointerEvent"
|
|
90996
|
+
}
|
|
90997
|
+
}
|
|
90998
|
+
]
|
|
90999
|
+
},
|
|
91000
|
+
{
|
|
91001
|
+
"kind": "method",
|
|
91002
|
+
"name": "handlePointerLeave",
|
|
91003
|
+
"privacy": "private",
|
|
91004
|
+
"parameters": [
|
|
91005
|
+
{
|
|
91006
|
+
"name": "event",
|
|
91007
|
+
"type": {
|
|
91008
|
+
"text": "PointerEvent"
|
|
91009
|
+
}
|
|
91010
|
+
}
|
|
91011
|
+
]
|
|
91012
|
+
},
|
|
91013
|
+
{
|
|
91014
|
+
"kind": "method",
|
|
91015
|
+
"name": "handleFeatureSlotChange",
|
|
91016
|
+
"privacy": "private",
|
|
91017
|
+
"parameters": [
|
|
91018
|
+
{
|
|
91019
|
+
"name": "event",
|
|
91020
|
+
"type": {
|
|
91021
|
+
"text": "Event"
|
|
91022
|
+
}
|
|
91023
|
+
}
|
|
91024
|
+
]
|
|
91025
|
+
}
|
|
91026
|
+
],
|
|
91027
|
+
"events": [
|
|
91028
|
+
{
|
|
91029
|
+
"name": "open",
|
|
91030
|
+
"type": {
|
|
91031
|
+
"text": "CustomEvent"
|
|
91032
|
+
},
|
|
91033
|
+
"description": "Dispatched when the person opens the panel."
|
|
91034
|
+
},
|
|
91035
|
+
{
|
|
91036
|
+
"name": "close",
|
|
91037
|
+
"type": {
|
|
91038
|
+
"text": "CustomEvent<{reason: 'action' | 'escape' | 'light-dismiss'}>"
|
|
91039
|
+
},
|
|
91040
|
+
"description": "Dispatched when the person closes the panel: the button, Escape, or a click or focus outside."
|
|
91041
|
+
}
|
|
91042
|
+
],
|
|
91043
|
+
"attributes": [
|
|
91044
|
+
{
|
|
91045
|
+
"name": "label",
|
|
91046
|
+
"type": {
|
|
91047
|
+
"text": "string"
|
|
91048
|
+
},
|
|
91049
|
+
"default": "''",
|
|
91050
|
+
"description": "The button's text.",
|
|
91051
|
+
"fieldName": "label"
|
|
91052
|
+
},
|
|
91053
|
+
{
|
|
91054
|
+
"name": "open",
|
|
91055
|
+
"type": {
|
|
91056
|
+
"text": "boolean"
|
|
91057
|
+
},
|
|
91058
|
+
"default": "false",
|
|
91059
|
+
"description": "Whether the panel is open.",
|
|
91060
|
+
"fieldName": "open"
|
|
91061
|
+
},
|
|
91062
|
+
{
|
|
91063
|
+
"name": "layout",
|
|
91064
|
+
"type": {
|
|
91065
|
+
"text": "'list' | 'columns'"
|
|
91066
|
+
},
|
|
91067
|
+
"default": "'list'",
|
|
91068
|
+
"description": "`\"list\"`: a short list under the button; `\"columns\"`: a wide panel of groups.",
|
|
91069
|
+
"fieldName": "layout"
|
|
91070
|
+
}
|
|
91071
|
+
],
|
|
91072
|
+
"superclass": {
|
|
91073
|
+
"name": "LitElement",
|
|
91074
|
+
"package": "lit"
|
|
91075
|
+
},
|
|
91076
|
+
"tagName": "wc-site-nav-menu",
|
|
91077
|
+
"customElement": true,
|
|
91078
|
+
"summary": "A section of a site header that opens a panel of links.",
|
|
91079
|
+
"rawTag": {
|
|
91080
|
+
"name": "site-nav-menu",
|
|
91081
|
+
"description": ""
|
|
91082
|
+
}
|
|
91083
|
+
}
|
|
91084
|
+
],
|
|
91085
|
+
"exports": [
|
|
91086
|
+
{
|
|
91087
|
+
"kind": "js",
|
|
91088
|
+
"name": "SiteNavMenu",
|
|
91089
|
+
"declaration": {
|
|
91090
|
+
"name": "SiteNavMenu",
|
|
91091
|
+
"module": "src/site-header/site-nav-menu.ts"
|
|
91092
|
+
}
|
|
91093
|
+
}
|
|
91094
|
+
]
|
|
91095
|
+
},
|
|
91096
|
+
{
|
|
91097
|
+
"kind": "javascript-module",
|
|
91098
|
+
"path": "src/site-header/site-nav-group.ts",
|
|
91099
|
+
"declarations": [
|
|
91100
|
+
{
|
|
91101
|
+
"kind": "class",
|
|
91102
|
+
"description": "",
|
|
91103
|
+
"name": "SiteNavGroup",
|
|
91104
|
+
"cssParts": [
|
|
91105
|
+
{
|
|
91106
|
+
"description": "The group's title.",
|
|
91107
|
+
"name": "title"
|
|
91108
|
+
}
|
|
91109
|
+
],
|
|
91110
|
+
"slots": [
|
|
91111
|
+
{
|
|
91112
|
+
"description": "The group's `wc-site-nav-link` elements.",
|
|
91113
|
+
"name": ""
|
|
91114
|
+
}
|
|
91115
|
+
],
|
|
91116
|
+
"members": [
|
|
91117
|
+
{
|
|
91118
|
+
"kind": "field",
|
|
91119
|
+
"name": "label",
|
|
91120
|
+
"type": {
|
|
91121
|
+
"text": "string"
|
|
91122
|
+
},
|
|
91123
|
+
"default": "''",
|
|
91124
|
+
"description": "The group's title.",
|
|
91125
|
+
"attribute": "label"
|
|
91126
|
+
}
|
|
91127
|
+
],
|
|
91128
|
+
"attributes": [
|
|
91129
|
+
{
|
|
91130
|
+
"name": "label",
|
|
91131
|
+
"type": {
|
|
91132
|
+
"text": "string"
|
|
91133
|
+
},
|
|
91134
|
+
"default": "''",
|
|
91135
|
+
"description": "The group's title.",
|
|
91136
|
+
"fieldName": "label"
|
|
91137
|
+
}
|
|
91138
|
+
],
|
|
91139
|
+
"superclass": {
|
|
91140
|
+
"name": "LitElement",
|
|
91141
|
+
"package": "lit"
|
|
91142
|
+
},
|
|
91143
|
+
"tagName": "wc-site-nav-group",
|
|
91144
|
+
"customElement": true,
|
|
91145
|
+
"summary": "A titled column of links in a site header menu.",
|
|
91146
|
+
"rawTag": {
|
|
91147
|
+
"name": "site-nav-group",
|
|
91148
|
+
"description": ""
|
|
91149
|
+
}
|
|
91150
|
+
}
|
|
91151
|
+
],
|
|
91152
|
+
"exports": [
|
|
91153
|
+
{
|
|
91154
|
+
"kind": "js",
|
|
91155
|
+
"name": "SiteNavGroup",
|
|
91156
|
+
"declaration": {
|
|
91157
|
+
"name": "SiteNavGroup",
|
|
91158
|
+
"module": "src/site-header/site-nav-group.ts"
|
|
91159
|
+
}
|
|
91160
|
+
}
|
|
91161
|
+
]
|
|
91162
|
+
},
|
|
91163
|
+
{
|
|
91164
|
+
"kind": "javascript-module",
|
|
91165
|
+
"path": "src/site-header/site-nav-link.ts",
|
|
91166
|
+
"declarations": [
|
|
91167
|
+
{
|
|
91168
|
+
"kind": "class",
|
|
91169
|
+
"description": "",
|
|
91170
|
+
"name": "SiteNavLink",
|
|
91171
|
+
"cssParts": [
|
|
91172
|
+
{
|
|
91173
|
+
"description": "The `<a>` element.",
|
|
91174
|
+
"name": "link"
|
|
91175
|
+
},
|
|
91176
|
+
{
|
|
91177
|
+
"description": "The description text.",
|
|
91178
|
+
"name": "description"
|
|
91179
|
+
}
|
|
91180
|
+
],
|
|
91181
|
+
"slots": [
|
|
91182
|
+
{
|
|
91183
|
+
"description": "The link's text.",
|
|
91184
|
+
"name": ""
|
|
91185
|
+
},
|
|
91186
|
+
{
|
|
91187
|
+
"description": "An optional icon, shown in a menu's panel.",
|
|
91188
|
+
"name": "icon"
|
|
91189
|
+
}
|
|
91190
|
+
],
|
|
91191
|
+
"members": [
|
|
91192
|
+
{
|
|
91193
|
+
"kind": "field",
|
|
91194
|
+
"name": "shadowRootOptions",
|
|
91195
|
+
"type": {
|
|
91196
|
+
"text": "object"
|
|
91197
|
+
},
|
|
91198
|
+
"static": true,
|
|
91199
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
91200
|
+
},
|
|
91201
|
+
{
|
|
91202
|
+
"kind": "field",
|
|
91203
|
+
"name": "href",
|
|
91204
|
+
"type": {
|
|
91205
|
+
"text": "string"
|
|
91206
|
+
},
|
|
91207
|
+
"default": "''",
|
|
91208
|
+
"description": "The link's address.",
|
|
91209
|
+
"attribute": "href"
|
|
91210
|
+
},
|
|
91211
|
+
{
|
|
91212
|
+
"kind": "field",
|
|
91213
|
+
"name": "target",
|
|
91214
|
+
"type": {
|
|
91215
|
+
"text": "string | undefined"
|
|
91216
|
+
},
|
|
91217
|
+
"description": "Where to open the link, as on `<a>`.",
|
|
91218
|
+
"attribute": "target"
|
|
91219
|
+
},
|
|
91220
|
+
{
|
|
91221
|
+
"kind": "field",
|
|
91222
|
+
"name": "rel",
|
|
91223
|
+
"type": {
|
|
91224
|
+
"text": "string | undefined"
|
|
91225
|
+
},
|
|
91226
|
+
"description": "Relationship to the linked page, as on `<a>`.",
|
|
91227
|
+
"attribute": "rel"
|
|
91228
|
+
},
|
|
91229
|
+
{
|
|
91230
|
+
"kind": "field",
|
|
91231
|
+
"name": "current",
|
|
91232
|
+
"type": {
|
|
91233
|
+
"text": "boolean"
|
|
91234
|
+
},
|
|
91235
|
+
"default": "false",
|
|
91236
|
+
"description": "Marks the page the person is on (`aria-current=\"page\"`).",
|
|
91237
|
+
"attribute": "current",
|
|
91238
|
+
"reflects": true
|
|
91239
|
+
},
|
|
91240
|
+
{
|
|
91241
|
+
"kind": "field",
|
|
91242
|
+
"name": "description",
|
|
91243
|
+
"type": {
|
|
91244
|
+
"text": "string"
|
|
91245
|
+
},
|
|
91246
|
+
"default": "''",
|
|
91247
|
+
"description": "A line under the label, shown in a menu's panel.",
|
|
91248
|
+
"attribute": "description"
|
|
91249
|
+
},
|
|
91250
|
+
{
|
|
91251
|
+
"kind": "field",
|
|
91252
|
+
"name": "hasIcon",
|
|
91253
|
+
"type": {
|
|
91254
|
+
"text": "boolean"
|
|
91255
|
+
},
|
|
91256
|
+
"privacy": "private",
|
|
91257
|
+
"default": "false",
|
|
91258
|
+
"description": "True when the `icon` slot has content."
|
|
91259
|
+
},
|
|
91260
|
+
{
|
|
91261
|
+
"kind": "field",
|
|
91262
|
+
"name": "linkElement",
|
|
91263
|
+
"type": {
|
|
91264
|
+
"text": "HTMLAnchorElement | undefined"
|
|
91265
|
+
},
|
|
91266
|
+
"privacy": "private"
|
|
91267
|
+
},
|
|
91268
|
+
{
|
|
91269
|
+
"kind": "method",
|
|
91270
|
+
"name": "focus"
|
|
91271
|
+
},
|
|
91272
|
+
{
|
|
91273
|
+
"kind": "method",
|
|
91274
|
+
"name": "blur"
|
|
91275
|
+
},
|
|
91276
|
+
{
|
|
91277
|
+
"kind": "method",
|
|
91278
|
+
"name": "handleIconSlotChange",
|
|
91279
|
+
"privacy": "private",
|
|
91280
|
+
"parameters": [
|
|
91281
|
+
{
|
|
91282
|
+
"name": "event",
|
|
91283
|
+
"type": {
|
|
91284
|
+
"text": "Event"
|
|
91285
|
+
}
|
|
91286
|
+
}
|
|
91287
|
+
]
|
|
91288
|
+
}
|
|
91289
|
+
],
|
|
91290
|
+
"attributes": [
|
|
91291
|
+
{
|
|
91292
|
+
"name": "href",
|
|
91293
|
+
"type": {
|
|
91294
|
+
"text": "string"
|
|
91295
|
+
},
|
|
91296
|
+
"default": "''",
|
|
91297
|
+
"description": "The link's address.",
|
|
91298
|
+
"fieldName": "href"
|
|
91299
|
+
},
|
|
91300
|
+
{
|
|
91301
|
+
"name": "target",
|
|
91302
|
+
"type": {
|
|
91303
|
+
"text": "string | undefined"
|
|
91304
|
+
},
|
|
91305
|
+
"description": "Where to open the link, as on `<a>`.",
|
|
91306
|
+
"fieldName": "target"
|
|
91307
|
+
},
|
|
91308
|
+
{
|
|
91309
|
+
"name": "rel",
|
|
91310
|
+
"type": {
|
|
91311
|
+
"text": "string | undefined"
|
|
91312
|
+
},
|
|
91313
|
+
"description": "Relationship to the linked page, as on `<a>`.",
|
|
91314
|
+
"fieldName": "rel"
|
|
91315
|
+
},
|
|
91316
|
+
{
|
|
91317
|
+
"name": "current",
|
|
91318
|
+
"type": {
|
|
91319
|
+
"text": "boolean"
|
|
91320
|
+
},
|
|
91321
|
+
"default": "false",
|
|
91322
|
+
"description": "Marks the page the person is on (`aria-current=\"page\"`).",
|
|
91323
|
+
"fieldName": "current"
|
|
91324
|
+
},
|
|
91325
|
+
{
|
|
91326
|
+
"name": "description",
|
|
91327
|
+
"type": {
|
|
91328
|
+
"text": "string"
|
|
91329
|
+
},
|
|
91330
|
+
"default": "''",
|
|
91331
|
+
"description": "A line under the label, shown in a menu's panel.",
|
|
91332
|
+
"fieldName": "description"
|
|
91333
|
+
}
|
|
91334
|
+
],
|
|
91335
|
+
"superclass": {
|
|
91336
|
+
"name": "LitElement",
|
|
91337
|
+
"package": "lit"
|
|
91338
|
+
},
|
|
91339
|
+
"tagName": "wc-site-nav-link",
|
|
91340
|
+
"customElement": true,
|
|
91341
|
+
"summary": "A destination in a site header, in the bar or in a menu's panel.",
|
|
91342
|
+
"rawTag": {
|
|
91343
|
+
"name": "site-nav-link",
|
|
91344
|
+
"description": ""
|
|
91345
|
+
}
|
|
91346
|
+
}
|
|
91347
|
+
],
|
|
91348
|
+
"exports": [
|
|
91349
|
+
{
|
|
91350
|
+
"kind": "js",
|
|
91351
|
+
"name": "SiteNavLink",
|
|
91352
|
+
"declaration": {
|
|
91353
|
+
"name": "SiteNavLink",
|
|
91354
|
+
"module": "src/site-header/site-nav-link.ts"
|
|
91355
|
+
}
|
|
91356
|
+
}
|
|
91357
|
+
]
|
|
91358
|
+
},
|
|
91359
|
+
{
|
|
91360
|
+
"kind": "javascript-module",
|
|
91361
|
+
"path": "src/site-header/site-header.ts",
|
|
91362
|
+
"declarations": [
|
|
91363
|
+
{
|
|
91364
|
+
"kind": "class",
|
|
91365
|
+
"description": "",
|
|
91366
|
+
"name": "SiteHeader",
|
|
91367
|
+
"cssProperties": [
|
|
91368
|
+
{
|
|
91369
|
+
"description": "Height of the bar. Defaults to 4rem.",
|
|
91370
|
+
"name": "--site-header-height"
|
|
91371
|
+
},
|
|
91372
|
+
{
|
|
91373
|
+
"description": "Background of the bar. Defaults to `--color-surface`.",
|
|
91374
|
+
"name": "--site-header-background"
|
|
91375
|
+
},
|
|
91376
|
+
{
|
|
91377
|
+
"description": "Width the bar's content is centred in, for a full-bleed background with a narrower content column. Defaults to `none`.",
|
|
91378
|
+
"name": "--site-header-max-width"
|
|
91379
|
+
},
|
|
91380
|
+
{
|
|
91381
|
+
"description": "Stacking order of the header and its panels. Defaults to 10.",
|
|
91382
|
+
"name": "--site-header-z-index"
|
|
91383
|
+
},
|
|
91384
|
+
{
|
|
91385
|
+
"description": "Width of the drawer. Defaults to 22.5rem.",
|
|
91386
|
+
"name": "--site-header-drawer-width"
|
|
91387
|
+
}
|
|
91388
|
+
],
|
|
91389
|
+
"cssParts": [
|
|
91390
|
+
{
|
|
91391
|
+
"description": "The `<header>` bar.",
|
|
91392
|
+
"name": "bar"
|
|
91393
|
+
},
|
|
91394
|
+
{
|
|
91395
|
+
"description": "The navigation landmark in the bar.",
|
|
91396
|
+
"name": "nav"
|
|
91397
|
+
},
|
|
91398
|
+
{
|
|
91399
|
+
"description": "The skip link.",
|
|
91400
|
+
"name": "skip-link"
|
|
91401
|
+
},
|
|
91402
|
+
{
|
|
91403
|
+
"description": "The button that opens the drawer.",
|
|
91404
|
+
"name": "menu-button"
|
|
91405
|
+
},
|
|
91406
|
+
{
|
|
91407
|
+
"description": "The drawer `<dialog>` on a narrow header.",
|
|
91408
|
+
"name": "drawer"
|
|
91409
|
+
}
|
|
91410
|
+
],
|
|
91411
|
+
"slots": [
|
|
91412
|
+
{
|
|
91413
|
+
"description": "The site's logo and name, usually a link to the home page.",
|
|
91414
|
+
"name": "brand"
|
|
91415
|
+
},
|
|
91416
|
+
{
|
|
91417
|
+
"description": "The navigation: `wc-site-nav-link` and `wc-site-nav-menu` elements.",
|
|
91418
|
+
"name": ""
|
|
91419
|
+
},
|
|
91420
|
+
{
|
|
91421
|
+
"description": "Buttons at the end of the bar, such as Sign in and a call to action. They move to the bottom of the drawer when the header is collapsed.",
|
|
91422
|
+
"name": "actions"
|
|
91423
|
+
},
|
|
91424
|
+
{
|
|
91425
|
+
"description": "Content that always stays in the bar, such as a `wc-user-menu`, a search button or one short call to action.",
|
|
91426
|
+
"name": "end"
|
|
91427
|
+
}
|
|
91428
|
+
],
|
|
91429
|
+
"members": [
|
|
91430
|
+
{
|
|
91431
|
+
"kind": "field",
|
|
91432
|
+
"name": "Menu",
|
|
91433
|
+
"static": true,
|
|
91434
|
+
"default": "SiteNavMenu"
|
|
91435
|
+
},
|
|
91436
|
+
{
|
|
91437
|
+
"kind": "field",
|
|
91438
|
+
"name": "Group",
|
|
91439
|
+
"static": true,
|
|
91440
|
+
"default": "SiteNavGroup"
|
|
91441
|
+
},
|
|
91442
|
+
{
|
|
91443
|
+
"kind": "field",
|
|
91444
|
+
"name": "Link",
|
|
91445
|
+
"static": true,
|
|
91446
|
+
"default": "SiteNavLink"
|
|
91447
|
+
},
|
|
91448
|
+
{
|
|
91449
|
+
"kind": "field",
|
|
91450
|
+
"name": "label",
|
|
91451
|
+
"type": {
|
|
91452
|
+
"text": "string"
|
|
91453
|
+
},
|
|
91454
|
+
"default": "''",
|
|
91455
|
+
"description": "Accessible name of the navigation landmark. Defaults to Peacock's \"Main navigation\".",
|
|
91456
|
+
"attribute": "label"
|
|
91457
|
+
},
|
|
91458
|
+
{
|
|
91459
|
+
"kind": "field",
|
|
91460
|
+
"name": "collapseAt",
|
|
91461
|
+
"type": {
|
|
91462
|
+
"text": "number"
|
|
91463
|
+
},
|
|
91464
|
+
"default": "720",
|
|
91465
|
+
"description": "Header width in pixels below which the navigation moves into a drawer. The header also collapses whenever the bar's content does not fit.",
|
|
91466
|
+
"attribute": "collapse-at"
|
|
91467
|
+
},
|
|
91468
|
+
{
|
|
91469
|
+
"kind": "field",
|
|
91470
|
+
"name": "sticky",
|
|
91471
|
+
"type": {
|
|
91472
|
+
"text": "boolean"
|
|
91473
|
+
},
|
|
91474
|
+
"default": "false",
|
|
91475
|
+
"description": "Keeps the header at the top of the viewport while the page scrolls.",
|
|
91476
|
+
"attribute": "sticky",
|
|
91477
|
+
"reflects": true
|
|
91478
|
+
},
|
|
91479
|
+
{
|
|
91480
|
+
"kind": "field",
|
|
91481
|
+
"name": "hideOnScroll",
|
|
91482
|
+
"type": {
|
|
91483
|
+
"text": "boolean"
|
|
91484
|
+
},
|
|
91485
|
+
"default": "false",
|
|
91486
|
+
"description": "With `sticky`, slides the header away while scrolling down and back while scrolling up.",
|
|
91487
|
+
"attribute": "hide-on-scroll",
|
|
91488
|
+
"reflects": true
|
|
91489
|
+
},
|
|
91490
|
+
{
|
|
91491
|
+
"kind": "field",
|
|
91492
|
+
"name": "skipTarget",
|
|
91493
|
+
"type": {
|
|
91494
|
+
"text": "string"
|
|
91495
|
+
},
|
|
91496
|
+
"default": "'#main'",
|
|
91497
|
+
"description": "Selector of the element the skip link moves focus to.",
|
|
91498
|
+
"attribute": "skip-target"
|
|
91499
|
+
},
|
|
91500
|
+
{
|
|
91501
|
+
"kind": "field",
|
|
91502
|
+
"name": "openOnHover",
|
|
91503
|
+
"type": {
|
|
91504
|
+
"text": "boolean"
|
|
91505
|
+
},
|
|
91506
|
+
"default": "false",
|
|
91507
|
+
"description": "Opens a menu's panel when a mouse rests on it, as well as on click.",
|
|
91508
|
+
"attribute": "open-on-hover",
|
|
91509
|
+
"reflects": true
|
|
91510
|
+
},
|
|
91511
|
+
{
|
|
91512
|
+
"kind": "field",
|
|
91513
|
+
"name": "drawerOpen",
|
|
91514
|
+
"type": {
|
|
91515
|
+
"text": "boolean"
|
|
91516
|
+
},
|
|
91517
|
+
"default": "false",
|
|
91518
|
+
"description": "Whether the navigation drawer is open. Only has an effect while the header is collapsed.",
|
|
91519
|
+
"attribute": "drawer-open",
|
|
91520
|
+
"reflects": true
|
|
91521
|
+
},
|
|
91522
|
+
{
|
|
91523
|
+
"kind": "field",
|
|
91524
|
+
"name": "compact",
|
|
91525
|
+
"type": {
|
|
91526
|
+
"text": "boolean"
|
|
91527
|
+
},
|
|
91528
|
+
"privacy": "private",
|
|
91529
|
+
"default": "false",
|
|
91530
|
+
"description": "Whether the header is narrower than `collapse-at`."
|
|
91531
|
+
},
|
|
91532
|
+
{
|
|
91533
|
+
"kind": "field",
|
|
91534
|
+
"name": "scrolledAway",
|
|
91535
|
+
"type": {
|
|
91536
|
+
"text": "boolean"
|
|
91537
|
+
},
|
|
91538
|
+
"privacy": "private",
|
|
91539
|
+
"default": "false",
|
|
91540
|
+
"description": "Whether the header has slid away while scrolling down."
|
|
91541
|
+
},
|
|
91542
|
+
{
|
|
91543
|
+
"kind": "field",
|
|
91544
|
+
"name": "filled",
|
|
91545
|
+
"type": {
|
|
91546
|
+
"text": "object"
|
|
91547
|
+
},
|
|
91548
|
+
"privacy": "private",
|
|
91549
|
+
"default": "{ nav: false, actions: false, end: false }",
|
|
91550
|
+
"description": "Which slots have content."
|
|
91551
|
+
},
|
|
91552
|
+
{
|
|
91553
|
+
"kind": "field",
|
|
91554
|
+
"name": "dialogElement",
|
|
91555
|
+
"type": {
|
|
91556
|
+
"text": "HTMLDialogElement | undefined"
|
|
91557
|
+
},
|
|
91558
|
+
"privacy": "private"
|
|
91559
|
+
},
|
|
91560
|
+
{
|
|
91561
|
+
"kind": "field",
|
|
91562
|
+
"name": "i18n",
|
|
91563
|
+
"privacy": "private",
|
|
91564
|
+
"readonly": true,
|
|
91565
|
+
"default": "new I18nController(this)",
|
|
91566
|
+
"description": "Peacock's strings for the skip link, the menu button and the landmark."
|
|
91567
|
+
},
|
|
91568
|
+
{
|
|
91569
|
+
"kind": "field",
|
|
91570
|
+
"name": "overlay",
|
|
91571
|
+
"privacy": "private",
|
|
91572
|
+
"readonly": true,
|
|
91573
|
+
"default": "new OverlayController(this, { surface: () => this.dialogElement, modal: true, initialFocus: () => { const links = Array.from( this.querySelectorAll<SiteNavLink>('wc-site-nav-link'), ).filter(link => !link.closest('wc-site-nav-menu:not([open])')); return ( links.find(link => link.current) ?? this.querySelector<HTMLElement>( ':scope > wc-site-nav-link, :scope > wc-site-nav-menu', ) ); }, requestClose: reason => this.closeDrawer(reason), })"
|
|
91574
|
+
},
|
|
91575
|
+
{
|
|
91576
|
+
"kind": "field",
|
|
91577
|
+
"name": "resizeObserver",
|
|
91578
|
+
"type": {
|
|
91579
|
+
"text": "ResizeObserver | undefined"
|
|
91580
|
+
},
|
|
91581
|
+
"privacy": "private",
|
|
91582
|
+
"description": "Watches the header's width against `collapse-at`."
|
|
91583
|
+
},
|
|
91584
|
+
{
|
|
91585
|
+
"kind": "field",
|
|
91586
|
+
"name": "childObserver",
|
|
91587
|
+
"privacy": "private",
|
|
91588
|
+
"readonly": true,
|
|
91589
|
+
"default": "new MutationObserver(() => { this.syncSlots(); syncCollapsed(this, this.compact); })",
|
|
91590
|
+
"description": "Watches the children, since a slot that is not rendered fires no `slotchange`."
|
|
91591
|
+
},
|
|
91592
|
+
{
|
|
91593
|
+
"kind": "field",
|
|
91594
|
+
"name": "width",
|
|
91595
|
+
"type": {
|
|
91596
|
+
"text": "number"
|
|
91597
|
+
},
|
|
91598
|
+
"privacy": "private",
|
|
91599
|
+
"default": "0",
|
|
91600
|
+
"description": "The last measured width of the header."
|
|
91601
|
+
},
|
|
91602
|
+
{
|
|
91603
|
+
"kind": "field",
|
|
91604
|
+
"name": "neededWidth",
|
|
91605
|
+
"type": {
|
|
91606
|
+
"text": "number"
|
|
91607
|
+
},
|
|
91608
|
+
"privacy": "private",
|
|
91609
|
+
"default": "0",
|
|
91610
|
+
"description": "The header width the bar's content needs, measured while it was last shown wide."
|
|
91611
|
+
},
|
|
91612
|
+
{
|
|
91613
|
+
"kind": "field",
|
|
91614
|
+
"name": "contentObserver",
|
|
91615
|
+
"type": {
|
|
91616
|
+
"text": "ResizeObserver | undefined"
|
|
91617
|
+
},
|
|
91618
|
+
"privacy": "private",
|
|
91619
|
+
"description": "Watches the bar's parts, whose width changes as links render, fonts load or text changes."
|
|
91620
|
+
},
|
|
91621
|
+
{
|
|
91622
|
+
"kind": "field",
|
|
91623
|
+
"name": "fitTimer",
|
|
91624
|
+
"type": {
|
|
91625
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
91626
|
+
},
|
|
91627
|
+
"privacy": "private",
|
|
91628
|
+
"description": "Pending measurement after the bar's parts changed size."
|
|
91629
|
+
},
|
|
91630
|
+
{
|
|
91631
|
+
"kind": "field",
|
|
91632
|
+
"name": "lastScrollY",
|
|
91633
|
+
"type": {
|
|
91634
|
+
"text": "number"
|
|
91635
|
+
},
|
|
91636
|
+
"privacy": "private",
|
|
91637
|
+
"default": "0",
|
|
91638
|
+
"description": "Scroll position at the last scroll event, to tell the direction."
|
|
91639
|
+
},
|
|
91640
|
+
{
|
|
91641
|
+
"kind": "field",
|
|
91642
|
+
"name": "closeReason",
|
|
91643
|
+
"type": {
|
|
91644
|
+
"text": "CloseReason"
|
|
91645
|
+
},
|
|
91646
|
+
"privacy": "private",
|
|
91647
|
+
"default": "'api'",
|
|
91648
|
+
"description": "Why the drawer is closing, for the next `close` event.",
|
|
91649
|
+
"expandedType": {
|
|
91650
|
+
"text": "'escape' | 'light-dismiss' | 'action' | 'timeout' | 'api'"
|
|
91651
|
+
}
|
|
91652
|
+
},
|
|
91653
|
+
{
|
|
91654
|
+
"kind": "field",
|
|
91655
|
+
"name": "announcedOpen",
|
|
91656
|
+
"type": {
|
|
91657
|
+
"text": "boolean | undefined"
|
|
91658
|
+
},
|
|
91659
|
+
"privacy": "private",
|
|
91660
|
+
"description": "Whether the drawer was open at the last `open`/`close` event, so each change fires once."
|
|
91661
|
+
},
|
|
91662
|
+
{
|
|
91663
|
+
"kind": "field",
|
|
91664
|
+
"name": "collapsed",
|
|
91665
|
+
"type": {
|
|
91666
|
+
"text": "boolean"
|
|
91667
|
+
},
|
|
91668
|
+
"description": "Whether the header is narrower than `collapse-at`, with its navigation in the drawer.",
|
|
91669
|
+
"readonly": true
|
|
91670
|
+
},
|
|
91671
|
+
{
|
|
91672
|
+
"kind": "method",
|
|
91673
|
+
"name": "showDrawer",
|
|
91674
|
+
"description": "Opens the navigation drawer (while collapsed)."
|
|
91675
|
+
},
|
|
91676
|
+
{
|
|
91677
|
+
"kind": "method",
|
|
91678
|
+
"name": "hideDrawer",
|
|
91679
|
+
"description": "Closes the navigation drawer."
|
|
91680
|
+
},
|
|
91681
|
+
{
|
|
91682
|
+
"kind": "method",
|
|
91683
|
+
"name": "close",
|
|
91684
|
+
"description": "Closes every open menu panel in the bar."
|
|
91685
|
+
},
|
|
91686
|
+
{
|
|
91687
|
+
"kind": "field",
|
|
91688
|
+
"name": "drawerShown",
|
|
91689
|
+
"privacy": "private",
|
|
91690
|
+
"description": "Whether the drawer is showing right now.",
|
|
91691
|
+
"readonly": true
|
|
91692
|
+
},
|
|
91693
|
+
{
|
|
91694
|
+
"kind": "method",
|
|
91695
|
+
"name": "closeDrawer",
|
|
91696
|
+
"privacy": "private",
|
|
91697
|
+
"parameters": [
|
|
91698
|
+
{
|
|
91699
|
+
"name": "reason",
|
|
91700
|
+
"type": {
|
|
91701
|
+
"text": "CloseReason"
|
|
91702
|
+
}
|
|
91703
|
+
}
|
|
91704
|
+
]
|
|
91705
|
+
},
|
|
91706
|
+
{
|
|
91707
|
+
"kind": "method",
|
|
91708
|
+
"name": "syncCompact",
|
|
91709
|
+
"privacy": "private"
|
|
91710
|
+
},
|
|
91711
|
+
{
|
|
91712
|
+
"kind": "method",
|
|
91713
|
+
"name": "measureFit",
|
|
91714
|
+
"privacy": "private",
|
|
91715
|
+
"description": "Measures the width the wide bar's content needs: the brand, links, actions and end at their\nnatural widths, with the gaps and padding. The header collapses below it, as below\n`collapse-at`, so links never run into the actions."
|
|
91716
|
+
},
|
|
91717
|
+
{
|
|
91718
|
+
"kind": "field",
|
|
91719
|
+
"name": "syncSlots",
|
|
91720
|
+
"privacy": "private",
|
|
91721
|
+
"description": "Reads which slots have content from the light DOM, so it does not depend on what is rendered."
|
|
91722
|
+
},
|
|
91723
|
+
{
|
|
91724
|
+
"kind": "field",
|
|
91725
|
+
"name": "handleScroll",
|
|
91726
|
+
"privacy": "private"
|
|
91727
|
+
},
|
|
91728
|
+
{
|
|
91729
|
+
"kind": "method",
|
|
91730
|
+
"name": "handleSkipClick",
|
|
91731
|
+
"privacy": "private",
|
|
91732
|
+
"parameters": [
|
|
91733
|
+
{
|
|
91734
|
+
"name": "event",
|
|
91735
|
+
"type": {
|
|
91736
|
+
"text": "MouseEvent"
|
|
91737
|
+
}
|
|
91738
|
+
}
|
|
91739
|
+
],
|
|
91740
|
+
"description": "Fragment links do not reach elements inside shadow roots, so move focus directly. The target is\nlooked for beside the header first, for a header in an app's own shadow root, then in the page."
|
|
91741
|
+
},
|
|
91742
|
+
{
|
|
91743
|
+
"kind": "method",
|
|
91744
|
+
"name": "handleMenuButtonClick",
|
|
91745
|
+
"privacy": "private"
|
|
91746
|
+
},
|
|
91747
|
+
{
|
|
91748
|
+
"kind": "method",
|
|
91749
|
+
"name": "handleCloseButtonClick",
|
|
91750
|
+
"privacy": "private"
|
|
91751
|
+
},
|
|
91752
|
+
{
|
|
91753
|
+
"kind": "method",
|
|
91754
|
+
"name": "handleDrawerLinkClick",
|
|
91755
|
+
"privacy": "private",
|
|
91756
|
+
"parameters": [
|
|
91757
|
+
{
|
|
91758
|
+
"name": "event",
|
|
91759
|
+
"type": {
|
|
91760
|
+
"text": "MouseEvent"
|
|
91761
|
+
}
|
|
91762
|
+
}
|
|
91763
|
+
],
|
|
91764
|
+
"description": "Choosing a link in the drawer closes it."
|
|
91765
|
+
},
|
|
91766
|
+
{
|
|
91767
|
+
"kind": "method",
|
|
91768
|
+
"name": "handleCancel",
|
|
91769
|
+
"privacy": "private",
|
|
91770
|
+
"parameters": [
|
|
91771
|
+
{
|
|
91772
|
+
"name": "event",
|
|
91773
|
+
"type": {
|
|
91774
|
+
"text": "Event"
|
|
91775
|
+
}
|
|
91776
|
+
}
|
|
91777
|
+
],
|
|
91778
|
+
"description": "The native Escape `cancel`: keep `drawer-open` in charge."
|
|
91779
|
+
},
|
|
91780
|
+
{
|
|
91781
|
+
"kind": "method",
|
|
91782
|
+
"name": "handleNativeClose",
|
|
91783
|
+
"privacy": "private",
|
|
91784
|
+
"parameters": [
|
|
91785
|
+
{
|
|
91786
|
+
"name": "event",
|
|
91787
|
+
"type": {
|
|
91788
|
+
"text": "Event"
|
|
91789
|
+
}
|
|
91790
|
+
}
|
|
91791
|
+
],
|
|
91792
|
+
"description": "The browser closed the dialog on its own: keep `drawer-open` in step."
|
|
91793
|
+
},
|
|
91794
|
+
{
|
|
91795
|
+
"kind": "method",
|
|
91796
|
+
"name": "handleDialogClick",
|
|
91797
|
+
"privacy": "private",
|
|
91798
|
+
"parameters": [
|
|
91799
|
+
{
|
|
91800
|
+
"name": "event",
|
|
91801
|
+
"type": {
|
|
91802
|
+
"text": "MouseEvent"
|
|
91803
|
+
}
|
|
91804
|
+
}
|
|
91805
|
+
],
|
|
91806
|
+
"description": "A click outside the drawer's box lands on its backdrop: a light dismiss."
|
|
91807
|
+
},
|
|
91808
|
+
{
|
|
91809
|
+
"kind": "method",
|
|
91810
|
+
"name": "renderMenuButton",
|
|
91811
|
+
"privacy": "private"
|
|
91812
|
+
},
|
|
91813
|
+
{
|
|
91814
|
+
"kind": "method",
|
|
91815
|
+
"name": "renderDrawer",
|
|
91816
|
+
"privacy": "private"
|
|
91817
|
+
}
|
|
91818
|
+
],
|
|
91819
|
+
"events": [
|
|
91820
|
+
{
|
|
91821
|
+
"name": "open",
|
|
91822
|
+
"type": {
|
|
91823
|
+
"text": "CustomEvent"
|
|
91824
|
+
},
|
|
91825
|
+
"description": "Dispatched when the navigation drawer opens on a narrow header."
|
|
91826
|
+
},
|
|
91827
|
+
{
|
|
91828
|
+
"name": "close",
|
|
91829
|
+
"type": {
|
|
91830
|
+
"text": "CustomEvent<{reason: 'escape' | 'light-dismiss' | 'action' | 'api'}>"
|
|
91831
|
+
},
|
|
91832
|
+
"description": "Dispatched when the navigation drawer closes: Escape, a click on the scrim, choosing a link, or `hideDrawer()` (and widening the header past `collapse-at`)."
|
|
91833
|
+
}
|
|
91834
|
+
],
|
|
91835
|
+
"attributes": [
|
|
91836
|
+
{
|
|
91837
|
+
"name": "label",
|
|
91838
|
+
"type": {
|
|
91839
|
+
"text": "string"
|
|
91840
|
+
},
|
|
91841
|
+
"default": "''",
|
|
91842
|
+
"description": "Accessible name of the navigation landmark. Defaults to Peacock's \"Main navigation\".",
|
|
91843
|
+
"fieldName": "label"
|
|
91844
|
+
},
|
|
91845
|
+
{
|
|
91846
|
+
"name": "collapse-at",
|
|
91847
|
+
"type": {
|
|
91848
|
+
"text": "number"
|
|
91849
|
+
},
|
|
91850
|
+
"default": "720",
|
|
91851
|
+
"description": "Header width in pixels below which the navigation moves into a drawer. The header also collapses whenever the bar's content does not fit.",
|
|
91852
|
+
"fieldName": "collapseAt"
|
|
91853
|
+
},
|
|
91854
|
+
{
|
|
91855
|
+
"name": "sticky",
|
|
91856
|
+
"type": {
|
|
91857
|
+
"text": "boolean"
|
|
91858
|
+
},
|
|
91859
|
+
"default": "false",
|
|
91860
|
+
"description": "Keeps the header at the top of the viewport while the page scrolls.",
|
|
91861
|
+
"fieldName": "sticky"
|
|
91862
|
+
},
|
|
91863
|
+
{
|
|
91864
|
+
"name": "hide-on-scroll",
|
|
91865
|
+
"type": {
|
|
91866
|
+
"text": "boolean"
|
|
91867
|
+
},
|
|
91868
|
+
"default": "false",
|
|
91869
|
+
"description": "With `sticky`, slides the header away while scrolling down and back while scrolling up.",
|
|
91870
|
+
"fieldName": "hideOnScroll"
|
|
91871
|
+
},
|
|
91872
|
+
{
|
|
91873
|
+
"name": "skip-target",
|
|
91874
|
+
"type": {
|
|
91875
|
+
"text": "string"
|
|
91876
|
+
},
|
|
91877
|
+
"default": "'#main'",
|
|
91878
|
+
"description": "Selector of the element the skip link moves focus to.",
|
|
91879
|
+
"fieldName": "skipTarget"
|
|
91880
|
+
},
|
|
91881
|
+
{
|
|
91882
|
+
"name": "open-on-hover",
|
|
91883
|
+
"type": {
|
|
91884
|
+
"text": "boolean"
|
|
91885
|
+
},
|
|
91886
|
+
"default": "false",
|
|
91887
|
+
"description": "Opens a menu's panel when a mouse rests on it, as well as on click.",
|
|
91888
|
+
"fieldName": "openOnHover"
|
|
91889
|
+
},
|
|
91890
|
+
{
|
|
91891
|
+
"name": "drawer-open",
|
|
91892
|
+
"type": {
|
|
91893
|
+
"text": "boolean"
|
|
91894
|
+
},
|
|
91895
|
+
"default": "false",
|
|
91896
|
+
"description": "Whether the navigation drawer is open. Only has an effect while the header is collapsed.",
|
|
91897
|
+
"fieldName": "drawerOpen"
|
|
91898
|
+
}
|
|
91899
|
+
],
|
|
91900
|
+
"superclass": {
|
|
91901
|
+
"name": "LitElement",
|
|
91902
|
+
"package": "lit"
|
|
91903
|
+
},
|
|
91904
|
+
"tagName": "wc-site-header",
|
|
91905
|
+
"customElement": true,
|
|
91906
|
+
"summary": "The top navigation bar of a website or portal: brand, links, menus and actions.",
|
|
91907
|
+
"rawTag": {
|
|
91908
|
+
"name": "site-header",
|
|
91909
|
+
"description": ""
|
|
91910
|
+
}
|
|
91911
|
+
}
|
|
91912
|
+
],
|
|
91913
|
+
"exports": [
|
|
91914
|
+
{
|
|
91915
|
+
"kind": "js",
|
|
91916
|
+
"name": "SiteHeader",
|
|
91917
|
+
"declaration": {
|
|
91918
|
+
"name": "SiteHeader",
|
|
91919
|
+
"module": "src/site-header/site-header.ts"
|
|
91920
|
+
}
|
|
91921
|
+
}
|
|
91922
|
+
]
|
|
91923
|
+
},
|
|
91924
|
+
{
|
|
91925
|
+
"kind": "javascript-module",
|
|
91926
|
+
"path": "src/site-header/index.ts",
|
|
91927
|
+
"declarations": [],
|
|
91928
|
+
"exports": [
|
|
91929
|
+
{
|
|
91930
|
+
"kind": "js",
|
|
91931
|
+
"name": "SiteHeader",
|
|
91932
|
+
"declaration": {
|
|
91933
|
+
"name": "SiteHeader",
|
|
91934
|
+
"module": "./site-header.js"
|
|
91935
|
+
}
|
|
91936
|
+
},
|
|
91937
|
+
{
|
|
91938
|
+
"kind": "js",
|
|
91939
|
+
"name": "SiteHeaderCloseDetail",
|
|
91940
|
+
"declaration": {
|
|
91941
|
+
"name": "SiteHeaderCloseDetail",
|
|
91942
|
+
"module": "./site-header.js"
|
|
91943
|
+
}
|
|
91944
|
+
},
|
|
91945
|
+
{
|
|
91946
|
+
"kind": "js",
|
|
91947
|
+
"name": "SiteNavMenu",
|
|
91948
|
+
"declaration": {
|
|
91949
|
+
"name": "SiteNavMenu",
|
|
91950
|
+
"module": "./site-nav-menu.js"
|
|
91951
|
+
}
|
|
91952
|
+
},
|
|
91953
|
+
{
|
|
91954
|
+
"kind": "js",
|
|
91955
|
+
"name": "SiteNavMenuCloseDetail",
|
|
91956
|
+
"declaration": {
|
|
91957
|
+
"name": "SiteNavMenuCloseDetail",
|
|
91958
|
+
"module": "./site-nav-menu.js"
|
|
91959
|
+
}
|
|
91960
|
+
},
|
|
91961
|
+
{
|
|
91962
|
+
"kind": "js",
|
|
91963
|
+
"name": "SiteNavMenuCloseReason",
|
|
91964
|
+
"declaration": {
|
|
91965
|
+
"name": "SiteNavMenuCloseReason",
|
|
91966
|
+
"module": "./site-nav-menu.js"
|
|
91967
|
+
}
|
|
91968
|
+
},
|
|
91969
|
+
{
|
|
91970
|
+
"kind": "js",
|
|
91971
|
+
"name": "SiteNavGroup",
|
|
91972
|
+
"declaration": {
|
|
91973
|
+
"name": "SiteNavGroup",
|
|
91974
|
+
"module": "./site-nav-group.js"
|
|
91975
|
+
}
|
|
91976
|
+
},
|
|
91977
|
+
{
|
|
91978
|
+
"kind": "js",
|
|
91979
|
+
"name": "SiteNavLink",
|
|
91980
|
+
"declaration": {
|
|
91981
|
+
"name": "SiteNavLink",
|
|
91982
|
+
"module": "./site-nav-link.js"
|
|
91983
|
+
}
|
|
91984
|
+
}
|
|
91985
|
+
]
|
|
91986
|
+
},
|
|
91987
|
+
{
|
|
91988
|
+
"kind": "javascript-module",
|
|
91989
|
+
"path": "src/site-footer/site-footer-group.ts",
|
|
91990
|
+
"declarations": [
|
|
91991
|
+
{
|
|
91992
|
+
"kind": "class",
|
|
91993
|
+
"description": "",
|
|
91994
|
+
"name": "SiteFooterGroup",
|
|
91995
|
+
"cssParts": [
|
|
91996
|
+
{
|
|
91997
|
+
"description": "The `<nav>` element.",
|
|
91998
|
+
"name": "nav"
|
|
91999
|
+
},
|
|
92000
|
+
{
|
|
92001
|
+
"description": "The column's title.",
|
|
92002
|
+
"name": "title"
|
|
92003
|
+
}
|
|
92004
|
+
],
|
|
92005
|
+
"slots": [
|
|
92006
|
+
{
|
|
92007
|
+
"description": "The column's links.",
|
|
92008
|
+
"name": ""
|
|
92009
|
+
}
|
|
92010
|
+
],
|
|
92011
|
+
"members": [
|
|
92012
|
+
{
|
|
92013
|
+
"kind": "field",
|
|
92014
|
+
"name": "label",
|
|
92015
|
+
"type": {
|
|
92016
|
+
"text": "string"
|
|
92017
|
+
},
|
|
92018
|
+
"default": "''",
|
|
92019
|
+
"description": "The column's title, also the name of its navigation landmark.",
|
|
92020
|
+
"attribute": "label"
|
|
92021
|
+
}
|
|
92022
|
+
],
|
|
92023
|
+
"attributes": [
|
|
92024
|
+
{
|
|
92025
|
+
"name": "label",
|
|
92026
|
+
"type": {
|
|
92027
|
+
"text": "string"
|
|
92028
|
+
},
|
|
92029
|
+
"default": "''",
|
|
92030
|
+
"description": "The column's title, also the name of its navigation landmark.",
|
|
92031
|
+
"fieldName": "label"
|
|
92032
|
+
}
|
|
92033
|
+
],
|
|
92034
|
+
"superclass": {
|
|
92035
|
+
"name": "LitElement",
|
|
92036
|
+
"package": "lit"
|
|
92037
|
+
},
|
|
92038
|
+
"tagName": "wc-site-footer-group",
|
|
92039
|
+
"customElement": true,
|
|
92040
|
+
"summary": "A titled column of links in a site footer.",
|
|
92041
|
+
"rawTag": {
|
|
92042
|
+
"name": "site-footer-group",
|
|
92043
|
+
"description": ""
|
|
92044
|
+
}
|
|
92045
|
+
}
|
|
92046
|
+
],
|
|
92047
|
+
"exports": [
|
|
92048
|
+
{
|
|
92049
|
+
"kind": "js",
|
|
92050
|
+
"name": "SiteFooterGroup",
|
|
92051
|
+
"declaration": {
|
|
92052
|
+
"name": "SiteFooterGroup",
|
|
92053
|
+
"module": "src/site-footer/site-footer-group.ts"
|
|
92054
|
+
}
|
|
92055
|
+
}
|
|
92056
|
+
]
|
|
92057
|
+
},
|
|
92058
|
+
{
|
|
92059
|
+
"kind": "javascript-module",
|
|
92060
|
+
"path": "src/site-footer/site-footer.ts",
|
|
92061
|
+
"declarations": [
|
|
92062
|
+
{
|
|
92063
|
+
"kind": "class",
|
|
92064
|
+
"description": "",
|
|
92065
|
+
"name": "SiteFooter",
|
|
92066
|
+
"cssProperties": [
|
|
92067
|
+
{
|
|
92068
|
+
"description": "Background of the footer. Defaults to `--color-surface-container-low`.",
|
|
92069
|
+
"name": "--site-footer-background"
|
|
92070
|
+
},
|
|
92071
|
+
{
|
|
92072
|
+
"description": "Width the footer's content is centred in. Defaults to `none`.",
|
|
92073
|
+
"name": "--site-footer-max-width"
|
|
92074
|
+
}
|
|
92075
|
+
],
|
|
92076
|
+
"cssParts": [
|
|
92077
|
+
{
|
|
92078
|
+
"description": "The `<footer>` element.",
|
|
92079
|
+
"name": "base"
|
|
92080
|
+
},
|
|
92081
|
+
{
|
|
92082
|
+
"description": "The row of the brand and the columns.",
|
|
92083
|
+
"name": "top"
|
|
92084
|
+
},
|
|
92085
|
+
{
|
|
92086
|
+
"description": "The columns.",
|
|
92087
|
+
"name": "groups"
|
|
92088
|
+
},
|
|
92089
|
+
{
|
|
92090
|
+
"description": "The row of the legal and social slots.",
|
|
92091
|
+
"name": "bottom"
|
|
92092
|
+
}
|
|
92093
|
+
],
|
|
92094
|
+
"slots": [
|
|
92095
|
+
{
|
|
92096
|
+
"description": "The site's logo and name, and an optional line of text under it.",
|
|
92097
|
+
"name": "brand"
|
|
92098
|
+
},
|
|
92099
|
+
{
|
|
92100
|
+
"description": "The footer's `wc-site-footer-group` columns.",
|
|
92101
|
+
"name": ""
|
|
92102
|
+
},
|
|
92103
|
+
{
|
|
92104
|
+
"description": "Copyright and policy links, in small type.",
|
|
92105
|
+
"name": "legal"
|
|
92106
|
+
},
|
|
92107
|
+
{
|
|
92108
|
+
"description": "Links to the site's profiles, usually `wc-icon-button shape=\"round\"` with an `aria-label` each.",
|
|
92109
|
+
"name": "social"
|
|
92110
|
+
}
|
|
92111
|
+
],
|
|
92112
|
+
"members": [
|
|
92113
|
+
{
|
|
92114
|
+
"kind": "field",
|
|
92115
|
+
"name": "Group",
|
|
92116
|
+
"static": true,
|
|
92117
|
+
"default": "SiteFooterGroup"
|
|
92118
|
+
},
|
|
92119
|
+
{
|
|
92120
|
+
"kind": "field",
|
|
92121
|
+
"name": "filled",
|
|
92122
|
+
"type": {
|
|
92123
|
+
"text": "object"
|
|
92124
|
+
},
|
|
92125
|
+
"privacy": "private",
|
|
92126
|
+
"default": "{ brand: false, groups: false, legal: false, social: false, }",
|
|
92127
|
+
"description": "Which slots have content."
|
|
92128
|
+
},
|
|
92129
|
+
{
|
|
92130
|
+
"kind": "field",
|
|
92131
|
+
"name": "childObserver",
|
|
92132
|
+
"privacy": "private",
|
|
92133
|
+
"readonly": true,
|
|
92134
|
+
"default": "new MutationObserver(() => this.syncSlots())",
|
|
92135
|
+
"description": "Watches the children, so the rows show and hide with their content."
|
|
92136
|
+
},
|
|
92137
|
+
{
|
|
92138
|
+
"kind": "method",
|
|
92139
|
+
"name": "syncSlots",
|
|
92140
|
+
"privacy": "private"
|
|
92141
|
+
}
|
|
92142
|
+
],
|
|
92143
|
+
"superclass": {
|
|
92144
|
+
"name": "LitElement",
|
|
92145
|
+
"package": "lit"
|
|
92146
|
+
},
|
|
92147
|
+
"tagName": "wc-site-footer",
|
|
92148
|
+
"customElement": true,
|
|
92149
|
+
"summary": "The footer of a website or portal: brand, columns of links, legal links and social links.",
|
|
92150
|
+
"rawTag": {
|
|
92151
|
+
"name": "site-footer",
|
|
92152
|
+
"description": ""
|
|
92153
|
+
}
|
|
92154
|
+
}
|
|
92155
|
+
],
|
|
92156
|
+
"exports": [
|
|
92157
|
+
{
|
|
92158
|
+
"kind": "js",
|
|
92159
|
+
"name": "SiteFooter",
|
|
92160
|
+
"declaration": {
|
|
92161
|
+
"name": "SiteFooter",
|
|
92162
|
+
"module": "src/site-footer/site-footer.ts"
|
|
92163
|
+
}
|
|
92164
|
+
}
|
|
92165
|
+
]
|
|
92166
|
+
},
|
|
92167
|
+
{
|
|
92168
|
+
"kind": "javascript-module",
|
|
92169
|
+
"path": "src/site-footer/index.ts",
|
|
92170
|
+
"declarations": [],
|
|
92171
|
+
"exports": [
|
|
92172
|
+
{
|
|
92173
|
+
"kind": "js",
|
|
92174
|
+
"name": "SiteFooter",
|
|
92175
|
+
"declaration": {
|
|
92176
|
+
"name": "SiteFooter",
|
|
92177
|
+
"module": "./site-footer.js"
|
|
92178
|
+
}
|
|
92179
|
+
},
|
|
92180
|
+
{
|
|
92181
|
+
"kind": "js",
|
|
92182
|
+
"name": "SiteFooterGroup",
|
|
92183
|
+
"declaration": {
|
|
92184
|
+
"name": "SiteFooterGroup",
|
|
92185
|
+
"module": "./site-footer-group.js"
|
|
92186
|
+
}
|
|
92187
|
+
}
|
|
92188
|
+
]
|
|
92189
|
+
},
|
|
92190
|
+
{
|
|
92191
|
+
"kind": "javascript-module",
|
|
92192
|
+
"path": "src/carousel/carousel.ts",
|
|
92193
|
+
"declarations": [
|
|
92194
|
+
{
|
|
92195
|
+
"kind": "class",
|
|
92196
|
+
"description": "",
|
|
92197
|
+
"name": "Carousel",
|
|
92198
|
+
"cssProperties": [
|
|
92199
|
+
{
|
|
92200
|
+
"description": "Space between slides. Defaults to `--spacing-200`.",
|
|
92201
|
+
"name": "--carousel-gap"
|
|
92202
|
+
}
|
|
92203
|
+
],
|
|
92204
|
+
"cssParts": [
|
|
92205
|
+
{
|
|
92206
|
+
"description": "The carousel region.",
|
|
92207
|
+
"name": "base"
|
|
92208
|
+
},
|
|
92209
|
+
{
|
|
92210
|
+
"description": "The scrolling row of slides.",
|
|
92211
|
+
"name": "track"
|
|
92212
|
+
},
|
|
92213
|
+
{
|
|
92214
|
+
"description": "The row of buttons under the slides.",
|
|
92215
|
+
"name": "controls"
|
|
92216
|
+
}
|
|
92217
|
+
],
|
|
92218
|
+
"slots": [
|
|
92219
|
+
{
|
|
92220
|
+
"description": "The slides: any elements, one per slide. Give a slide an `aria-label` to name it; otherwise it is named \"2 of 5\".",
|
|
92221
|
+
"name": ""
|
|
92222
|
+
}
|
|
92223
|
+
],
|
|
92224
|
+
"members": [
|
|
92225
|
+
{
|
|
92226
|
+
"kind": "field",
|
|
92227
|
+
"name": "label",
|
|
92228
|
+
"type": {
|
|
92229
|
+
"text": "string"
|
|
92230
|
+
},
|
|
92231
|
+
"default": "''",
|
|
92232
|
+
"description": "What the slides are, such as \"Testimonials\": the name of the carousel region.",
|
|
92233
|
+
"attribute": "label",
|
|
92234
|
+
"reflects": true
|
|
92235
|
+
},
|
|
92236
|
+
{
|
|
92237
|
+
"kind": "field",
|
|
92238
|
+
"name": "perView",
|
|
92239
|
+
"type": {
|
|
92240
|
+
"text": "number"
|
|
92241
|
+
},
|
|
92242
|
+
"default": "1",
|
|
92243
|
+
"description": "How many slides show at once. Fewer show when the carousel is too narrow for them.",
|
|
92244
|
+
"attribute": "per-view",
|
|
92245
|
+
"reflects": true
|
|
92246
|
+
},
|
|
92247
|
+
{
|
|
92248
|
+
"kind": "field",
|
|
92249
|
+
"name": "index",
|
|
92250
|
+
"type": {
|
|
92251
|
+
"text": "number"
|
|
92252
|
+
},
|
|
92253
|
+
"default": "0",
|
|
92254
|
+
"description": "The first slide in view, from 0.",
|
|
92255
|
+
"attribute": "index",
|
|
92256
|
+
"reflects": true
|
|
92257
|
+
},
|
|
92258
|
+
{
|
|
92259
|
+
"kind": "field",
|
|
92260
|
+
"name": "loop",
|
|
92261
|
+
"type": {
|
|
92262
|
+
"text": "boolean"
|
|
92263
|
+
},
|
|
92264
|
+
"default": "false",
|
|
92265
|
+
"description": "Whether previous and next wrap around from the last page to the first and back.",
|
|
92266
|
+
"attribute": "loop",
|
|
92267
|
+
"reflects": true
|
|
92268
|
+
},
|
|
92269
|
+
{
|
|
92270
|
+
"kind": "field",
|
|
92271
|
+
"name": "autoplay",
|
|
92272
|
+
"type": {
|
|
92273
|
+
"text": "boolean"
|
|
92274
|
+
},
|
|
92275
|
+
"default": "false",
|
|
92276
|
+
"description": "Whether the slides move on by themselves. A stop button comes first in the controls.",
|
|
92277
|
+
"attribute": "autoplay",
|
|
92278
|
+
"reflects": true
|
|
92279
|
+
},
|
|
92280
|
+
{
|
|
92281
|
+
"kind": "field",
|
|
92282
|
+
"name": "interval",
|
|
92283
|
+
"type": {
|
|
92284
|
+
"text": "number"
|
|
92285
|
+
},
|
|
92286
|
+
"default": "5000",
|
|
92287
|
+
"description": "How long each page shows while `autoplay` runs, in milliseconds.",
|
|
92288
|
+
"attribute": "interval"
|
|
92289
|
+
},
|
|
92290
|
+
{
|
|
92291
|
+
"kind": "field",
|
|
92292
|
+
"name": "slideCount",
|
|
92293
|
+
"type": {
|
|
92294
|
+
"text": "number"
|
|
92295
|
+
},
|
|
92296
|
+
"privacy": "private",
|
|
92297
|
+
"default": "0"
|
|
92298
|
+
},
|
|
92299
|
+
{
|
|
92300
|
+
"kind": "field",
|
|
92301
|
+
"name": "visible",
|
|
92302
|
+
"type": {
|
|
92303
|
+
"text": "number"
|
|
92304
|
+
},
|
|
92305
|
+
"privacy": "private",
|
|
92306
|
+
"default": "1",
|
|
92307
|
+
"description": "How many slides fit: `per-view`, or fewer when the carousel is narrow."
|
|
92308
|
+
},
|
|
92309
|
+
{
|
|
92310
|
+
"kind": "field",
|
|
92311
|
+
"name": "rotating",
|
|
92312
|
+
"type": {
|
|
92313
|
+
"text": "boolean"
|
|
92314
|
+
},
|
|
92315
|
+
"privacy": "private",
|
|
92316
|
+
"default": "false",
|
|
92317
|
+
"description": "Whether autoplay rotates the slides: off once the person stops it or uses a control."
|
|
92318
|
+
},
|
|
92319
|
+
{
|
|
92320
|
+
"kind": "field",
|
|
92321
|
+
"name": "held",
|
|
92322
|
+
"type": {
|
|
92323
|
+
"text": "boolean"
|
|
92324
|
+
},
|
|
92325
|
+
"privacy": "private",
|
|
92326
|
+
"default": "false",
|
|
92327
|
+
"description": "Whether the pointer or focus is inside, which pauses rotation."
|
|
92328
|
+
},
|
|
92329
|
+
{
|
|
92330
|
+
"kind": "field",
|
|
92331
|
+
"name": "track",
|
|
92332
|
+
"type": {
|
|
92333
|
+
"text": "HTMLElement | undefined"
|
|
92334
|
+
},
|
|
92335
|
+
"privacy": "private",
|
|
92336
|
+
"readonly": true
|
|
92337
|
+
},
|
|
92338
|
+
{
|
|
92339
|
+
"kind": "field",
|
|
92340
|
+
"name": "i18n",
|
|
92341
|
+
"privacy": "private",
|
|
92342
|
+
"readonly": true,
|
|
92343
|
+
"default": "new I18nController(this)"
|
|
92344
|
+
},
|
|
92345
|
+
{
|
|
92346
|
+
"kind": "field",
|
|
92347
|
+
"name": "slides",
|
|
89885
92348
|
"type": {
|
|
89886
|
-
"text": "
|
|
92349
|
+
"text": "HTMLElement[]"
|
|
89887
92350
|
},
|
|
89888
|
-
"
|
|
89889
|
-
"
|
|
89890
|
-
"reflects": true,
|
|
89891
|
-
"inheritedFrom": {
|
|
89892
|
-
"name": "NavigationItemBase",
|
|
89893
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89894
|
-
}
|
|
92351
|
+
"privacy": "private",
|
|
92352
|
+
"default": "[]"
|
|
89895
92353
|
},
|
|
89896
92354
|
{
|
|
89897
92355
|
"kind": "field",
|
|
89898
|
-
"name": "
|
|
92356
|
+
"name": "startedByPerson",
|
|
89899
92357
|
"type": {
|
|
89900
|
-
"text": "
|
|
92358
|
+
"text": "boolean"
|
|
89901
92359
|
},
|
|
89902
|
-
"
|
|
89903
|
-
"
|
|
89904
|
-
"
|
|
89905
|
-
"name": "NavigationItemBase",
|
|
89906
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89907
|
-
}
|
|
92360
|
+
"privacy": "private",
|
|
92361
|
+
"default": "false",
|
|
92362
|
+
"description": "Whether the person started rotation with the button, so hover and focus no longer pause it."
|
|
89908
92363
|
},
|
|
89909
92364
|
{
|
|
89910
92365
|
"kind": "field",
|
|
89911
|
-
"name": "
|
|
92366
|
+
"name": "stoppedByPerson",
|
|
89912
92367
|
"type": {
|
|
89913
|
-
"text": "
|
|
92368
|
+
"text": "boolean"
|
|
89914
92369
|
},
|
|
89915
|
-
"
|
|
89916
|
-
"
|
|
89917
|
-
"
|
|
89918
|
-
"inheritedFrom": {
|
|
89919
|
-
"name": "NavigationItemBase",
|
|
89920
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89921
|
-
}
|
|
92370
|
+
"privacy": "private",
|
|
92371
|
+
"default": "false",
|
|
92372
|
+
"description": "Whether the person stopped rotation or used a control, so autoplay never starts again."
|
|
89922
92373
|
},
|
|
89923
92374
|
{
|
|
89924
92375
|
"kind": "field",
|
|
89925
|
-
"name": "
|
|
92376
|
+
"name": "indexFromScroll",
|
|
89926
92377
|
"type": {
|
|
89927
|
-
"text": "
|
|
92378
|
+
"text": "boolean"
|
|
89928
92379
|
},
|
|
89929
|
-
"
|
|
89930
|
-
"
|
|
89931
|
-
"
|
|
89932
|
-
"name": "NavigationItemBase",
|
|
89933
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89934
|
-
}
|
|
92380
|
+
"privacy": "private",
|
|
92381
|
+
"default": "false",
|
|
92382
|
+
"description": "Whether the next `index` update came from scrolling, so it needs no scroll of its own."
|
|
89935
92383
|
},
|
|
89936
92384
|
{
|
|
89937
92385
|
"kind": "field",
|
|
89938
|
-
"name": "
|
|
92386
|
+
"name": "smoothScroll",
|
|
89939
92387
|
"type": {
|
|
89940
92388
|
"text": "boolean"
|
|
89941
92389
|
},
|
|
89942
|
-
"privacy": "
|
|
92390
|
+
"privacy": "private",
|
|
89943
92391
|
"default": "false",
|
|
89944
|
-
"description": "
|
|
89945
|
-
"inheritedFrom": {
|
|
89946
|
-
"name": "NavigationItemBase",
|
|
89947
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89948
|
-
}
|
|
92392
|
+
"description": "Whether the next scroll to `index` is animated."
|
|
89949
92393
|
},
|
|
89950
92394
|
{
|
|
89951
92395
|
"kind": "field",
|
|
89952
|
-
"name": "
|
|
92396
|
+
"name": "timer",
|
|
89953
92397
|
"type": {
|
|
89954
|
-
"text": "
|
|
92398
|
+
"text": "ReturnType<typeof setInterval> | undefined"
|
|
89955
92399
|
},
|
|
89956
|
-
"
|
|
89957
|
-
"inheritedFrom": {
|
|
89958
|
-
"name": "NavigationItemBase",
|
|
89959
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89960
|
-
}
|
|
92400
|
+
"privacy": "private"
|
|
89961
92401
|
},
|
|
89962
92402
|
{
|
|
89963
92403
|
"kind": "field",
|
|
89964
|
-
"name": "
|
|
92404
|
+
"name": "settleTimer",
|
|
92405
|
+
"type": {
|
|
92406
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
92407
|
+
},
|
|
92408
|
+
"privacy": "private"
|
|
92409
|
+
},
|
|
92410
|
+
{
|
|
92411
|
+
"kind": "field",
|
|
92412
|
+
"name": "resizeObserver",
|
|
89965
92413
|
"privacy": "private",
|
|
89966
92414
|
"readonly": true,
|
|
89967
|
-
"
|
|
89968
|
-
"name": "NavigationItemBase",
|
|
89969
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89970
|
-
}
|
|
92415
|
+
"default": "new ResizeObserver(() => this.syncVisible(), )"
|
|
89971
92416
|
},
|
|
89972
92417
|
{
|
|
89973
92418
|
"kind": "field",
|
|
89974
|
-
"name": "
|
|
92419
|
+
"name": "reducedMotion",
|
|
89975
92420
|
"privacy": "private",
|
|
89976
|
-
"
|
|
89977
|
-
"text": "(event: MouseEvent) => void"
|
|
89978
|
-
},
|
|
89979
|
-
"description": "Forwards host clicks to the inner element, throttled once `throttleDelay` is known.",
|
|
89980
|
-
"inheritedFrom": {
|
|
89981
|
-
"name": "NavigationItemBase",
|
|
89982
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89983
|
-
}
|
|
92421
|
+
"readonly": true
|
|
89984
92422
|
},
|
|
89985
92423
|
{
|
|
89986
92424
|
"kind": "method",
|
|
89987
|
-
"name": "
|
|
89988
|
-
"
|
|
89989
|
-
"name": "NavigationItemBase",
|
|
89990
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
89991
|
-
}
|
|
92425
|
+
"name": "next",
|
|
92426
|
+
"description": "Shows the page after the current one, or the first after the last when `loop` is set."
|
|
89992
92427
|
},
|
|
89993
92428
|
{
|
|
89994
92429
|
"kind": "method",
|
|
89995
|
-
"name": "
|
|
89996
|
-
"
|
|
89997
|
-
|
|
89998
|
-
|
|
89999
|
-
|
|
92430
|
+
"name": "previous",
|
|
92431
|
+
"description": "Shows the page before the current one, or the last before the first when `loop` is set."
|
|
92432
|
+
},
|
|
92433
|
+
{
|
|
92434
|
+
"kind": "method",
|
|
92435
|
+
"name": "goTo",
|
|
92436
|
+
"parameters": [
|
|
92437
|
+
{
|
|
92438
|
+
"name": "index",
|
|
92439
|
+
"type": {
|
|
92440
|
+
"text": "number"
|
|
92441
|
+
}
|
|
92442
|
+
}
|
|
92443
|
+
],
|
|
92444
|
+
"description": "Scrolls the slide at `index`, from 0, into the first place in view."
|
|
90000
92445
|
},
|
|
90001
92446
|
{
|
|
90002
92447
|
"kind": "field",
|
|
90003
|
-
"name": "
|
|
90004
|
-
"
|
|
90005
|
-
|
|
90006
|
-
|
|
90007
|
-
|
|
90008
|
-
|
|
90009
|
-
"
|
|
90010
|
-
"
|
|
90011
|
-
|
|
90012
|
-
|
|
90013
|
-
|
|
92448
|
+
"name": "maxStart",
|
|
92449
|
+
"privacy": "private",
|
|
92450
|
+
"description": "The first slide index that still fills the view.",
|
|
92451
|
+
"readonly": true
|
|
92452
|
+
},
|
|
92453
|
+
{
|
|
92454
|
+
"kind": "field",
|
|
92455
|
+
"name": "pageCount",
|
|
92456
|
+
"privacy": "private",
|
|
92457
|
+
"readonly": true
|
|
92458
|
+
},
|
|
92459
|
+
{
|
|
92460
|
+
"kind": "field",
|
|
92461
|
+
"name": "page",
|
|
92462
|
+
"privacy": "private",
|
|
92463
|
+
"description": "The page in view: the last one once the view reaches the end.",
|
|
92464
|
+
"readonly": true
|
|
90014
92465
|
},
|
|
90015
92466
|
{
|
|
90016
92467
|
"kind": "method",
|
|
90017
|
-
"name": "
|
|
90018
|
-
"privacy": "
|
|
92468
|
+
"name": "pageStart",
|
|
92469
|
+
"privacy": "private",
|
|
90019
92470
|
"parameters": [
|
|
90020
92471
|
{
|
|
90021
|
-
"name": "
|
|
92472
|
+
"name": "page",
|
|
90022
92473
|
"type": {
|
|
90023
|
-
"text": "
|
|
92474
|
+
"text": "number"
|
|
90024
92475
|
}
|
|
90025
92476
|
}
|
|
90026
|
-
]
|
|
90027
|
-
|
|
90028
|
-
|
|
90029
|
-
|
|
90030
|
-
|
|
92477
|
+
]
|
|
92478
|
+
},
|
|
92479
|
+
{
|
|
92480
|
+
"kind": "method",
|
|
92481
|
+
"name": "clamp",
|
|
92482
|
+
"privacy": "private",
|
|
92483
|
+
"parameters": [
|
|
92484
|
+
{
|
|
92485
|
+
"name": "index",
|
|
92486
|
+
"type": {
|
|
92487
|
+
"text": "number"
|
|
92488
|
+
}
|
|
92489
|
+
}
|
|
92490
|
+
]
|
|
92491
|
+
},
|
|
92492
|
+
{
|
|
92493
|
+
"kind": "method",
|
|
92494
|
+
"name": "goToPage",
|
|
92495
|
+
"privacy": "private",
|
|
92496
|
+
"parameters": [
|
|
92497
|
+
{
|
|
92498
|
+
"name": "page",
|
|
92499
|
+
"type": {
|
|
92500
|
+
"text": "number"
|
|
92501
|
+
}
|
|
92502
|
+
},
|
|
92503
|
+
{
|
|
92504
|
+
"name": "wrap",
|
|
92505
|
+
"type": {
|
|
92506
|
+
"text": "boolean"
|
|
92507
|
+
}
|
|
92508
|
+
}
|
|
92509
|
+
]
|
|
92510
|
+
},
|
|
92511
|
+
{
|
|
92512
|
+
"kind": "method",
|
|
92513
|
+
"name": "moveTo",
|
|
92514
|
+
"privacy": "private",
|
|
92515
|
+
"parameters": [
|
|
92516
|
+
{
|
|
92517
|
+
"name": "index",
|
|
92518
|
+
"type": {
|
|
92519
|
+
"text": "number"
|
|
92520
|
+
}
|
|
92521
|
+
}
|
|
92522
|
+
]
|
|
92523
|
+
},
|
|
92524
|
+
{
|
|
92525
|
+
"kind": "method",
|
|
92526
|
+
"name": "dispatchChange",
|
|
92527
|
+
"privacy": "private"
|
|
92528
|
+
},
|
|
92529
|
+
{
|
|
92530
|
+
"kind": "method",
|
|
92531
|
+
"name": "syncVisible",
|
|
92532
|
+
"privacy": "private"
|
|
92533
|
+
},
|
|
92534
|
+
{
|
|
92535
|
+
"kind": "method",
|
|
92536
|
+
"name": "syncSlides",
|
|
92537
|
+
"privacy": "private",
|
|
92538
|
+
"description": "Names each slide and makes the ones out of view inert."
|
|
92539
|
+
},
|
|
92540
|
+
{
|
|
92541
|
+
"kind": "method",
|
|
92542
|
+
"name": "scrollToIndex",
|
|
92543
|
+
"privacy": "private",
|
|
92544
|
+
"parameters": [
|
|
92545
|
+
{
|
|
92546
|
+
"name": "smooth",
|
|
92547
|
+
"type": {
|
|
92548
|
+
"text": "boolean"
|
|
92549
|
+
}
|
|
92550
|
+
}
|
|
92551
|
+
]
|
|
92552
|
+
},
|
|
92553
|
+
{
|
|
92554
|
+
"kind": "method",
|
|
92555
|
+
"name": "nearestIndex",
|
|
92556
|
+
"privacy": "private",
|
|
92557
|
+
"description": "The slide nearest the start edge of the track."
|
|
90031
92558
|
},
|
|
90032
92559
|
{
|
|
90033
92560
|
"kind": "field",
|
|
90034
|
-
"name": "
|
|
92561
|
+
"name": "shouldRotate",
|
|
90035
92562
|
"privacy": "private",
|
|
90036
|
-
"
|
|
90037
|
-
"name": "NavigationItemBase",
|
|
90038
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90039
|
-
}
|
|
92563
|
+
"readonly": true
|
|
90040
92564
|
},
|
|
90041
92565
|
{
|
|
90042
92566
|
"kind": "method",
|
|
90043
|
-
"name": "
|
|
92567
|
+
"name": "syncTimer",
|
|
92568
|
+
"privacy": "private"
|
|
92569
|
+
},
|
|
92570
|
+
{
|
|
92571
|
+
"kind": "method",
|
|
92572
|
+
"name": "stopTimer",
|
|
92573
|
+
"privacy": "private"
|
|
92574
|
+
},
|
|
92575
|
+
{
|
|
92576
|
+
"kind": "method",
|
|
92577
|
+
"name": "advance",
|
|
92578
|
+
"privacy": "private"
|
|
92579
|
+
},
|
|
92580
|
+
{
|
|
92581
|
+
"kind": "method",
|
|
92582
|
+
"name": "stopRotation",
|
|
92583
|
+
"privacy": "private",
|
|
92584
|
+
"description": "The person took over: autoplay stops and does not start again."
|
|
92585
|
+
},
|
|
92586
|
+
{
|
|
92587
|
+
"kind": "field",
|
|
92588
|
+
"name": "handleSlotChange",
|
|
92589
|
+
"privacy": "private",
|
|
92590
|
+
"readonly": true
|
|
92591
|
+
},
|
|
92592
|
+
{
|
|
92593
|
+
"kind": "field",
|
|
92594
|
+
"name": "handleScroll",
|
|
92595
|
+
"privacy": "private",
|
|
92596
|
+
"readonly": true
|
|
92597
|
+
},
|
|
92598
|
+
{
|
|
92599
|
+
"kind": "field",
|
|
92600
|
+
"name": "handlePrevious",
|
|
92601
|
+
"privacy": "private",
|
|
92602
|
+
"readonly": true
|
|
92603
|
+
},
|
|
92604
|
+
{
|
|
92605
|
+
"kind": "field",
|
|
92606
|
+
"name": "handleNext",
|
|
92607
|
+
"privacy": "private",
|
|
92608
|
+
"readonly": true
|
|
92609
|
+
},
|
|
92610
|
+
{
|
|
92611
|
+
"kind": "method",
|
|
92612
|
+
"name": "handlePicker",
|
|
90044
92613
|
"privacy": "private",
|
|
90045
92614
|
"parameters": [
|
|
90046
92615
|
{
|
|
90047
|
-
"name": "
|
|
92616
|
+
"name": "page",
|
|
90048
92617
|
"type": {
|
|
90049
|
-
"text": "
|
|
92618
|
+
"text": "number"
|
|
90050
92619
|
}
|
|
90051
92620
|
}
|
|
90052
|
-
]
|
|
90053
|
-
|
|
90054
|
-
|
|
90055
|
-
|
|
90056
|
-
|
|
90057
|
-
|
|
92621
|
+
]
|
|
92622
|
+
},
|
|
92623
|
+
{
|
|
92624
|
+
"kind": "field",
|
|
92625
|
+
"name": "handleRotation",
|
|
92626
|
+
"privacy": "private",
|
|
92627
|
+
"readonly": true
|
|
92628
|
+
},
|
|
92629
|
+
{
|
|
92630
|
+
"kind": "field",
|
|
92631
|
+
"name": "handlePointerEnter",
|
|
92632
|
+
"privacy": "private",
|
|
92633
|
+
"readonly": true
|
|
92634
|
+
},
|
|
92635
|
+
{
|
|
92636
|
+
"kind": "field",
|
|
92637
|
+
"name": "handlePointerLeave",
|
|
92638
|
+
"privacy": "private",
|
|
92639
|
+
"readonly": true
|
|
92640
|
+
},
|
|
92641
|
+
{
|
|
92642
|
+
"kind": "field",
|
|
92643
|
+
"name": "handleFocusIn",
|
|
92644
|
+
"privacy": "private",
|
|
92645
|
+
"readonly": true
|
|
92646
|
+
},
|
|
92647
|
+
{
|
|
92648
|
+
"kind": "field",
|
|
92649
|
+
"name": "handleFocusOut",
|
|
92650
|
+
"privacy": "private",
|
|
92651
|
+
"readonly": true
|
|
90058
92652
|
},
|
|
90059
92653
|
{
|
|
90060
92654
|
"kind": "method",
|
|
90061
|
-
"name": "
|
|
90062
|
-
"privacy": "
|
|
90063
|
-
"inheritedFrom": {
|
|
90064
|
-
"name": "NavigationItemBase",
|
|
90065
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90066
|
-
}
|
|
92655
|
+
"name": "renderPickers",
|
|
92656
|
+
"privacy": "private"
|
|
90067
92657
|
},
|
|
90068
92658
|
{
|
|
90069
92659
|
"kind": "method",
|
|
90070
|
-
"name": "
|
|
90071
|
-
"privacy": "
|
|
90072
|
-
"inheritedFrom": {
|
|
90073
|
-
"name": "NavigationItemBase",
|
|
90074
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90075
|
-
}
|
|
92660
|
+
"name": "renderControls",
|
|
92661
|
+
"privacy": "private"
|
|
90076
92662
|
}
|
|
90077
92663
|
],
|
|
90078
|
-
"
|
|
90079
|
-
"name": "NavigationItemBase",
|
|
90080
|
-
"package": "@/__internal/navigation-item-base.js"
|
|
90081
|
-
},
|
|
90082
|
-
"tagName": "wc-navigation-drawer-item",
|
|
90083
|
-
"customElement": true,
|
|
90084
|
-
"summary": "A destination in a navigation drawer.",
|
|
90085
|
-
"rawTag": {
|
|
90086
|
-
"name": "navigation-drawer-item",
|
|
90087
|
-
"description": ""
|
|
90088
|
-
},
|
|
90089
|
-
"attributes": [
|
|
92664
|
+
"events": [
|
|
90090
92665
|
{
|
|
90091
|
-
"name": "
|
|
92666
|
+
"name": "change",
|
|
90092
92667
|
"type": {
|
|
90093
|
-
"text": "
|
|
92668
|
+
"text": "CustomEvent<CarouselChangeDetail>"
|
|
90094
92669
|
},
|
|
90095
|
-
"
|
|
90096
|
-
|
|
90097
|
-
|
|
90098
|
-
|
|
90099
|
-
"name": "NavigationItemBase",
|
|
90100
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90101
|
-
}
|
|
90102
|
-
},
|
|
92670
|
+
"description": "Dispatched when the slides in view change because the person used a control or scrolled, or autoplay moved on."
|
|
92671
|
+
}
|
|
92672
|
+
],
|
|
92673
|
+
"attributes": [
|
|
90103
92674
|
{
|
|
90104
|
-
"name": "
|
|
92675
|
+
"name": "label",
|
|
90105
92676
|
"type": {
|
|
90106
|
-
"text": "
|
|
92677
|
+
"text": "string"
|
|
90107
92678
|
},
|
|
90108
|
-
"default": "
|
|
90109
|
-
"description": "
|
|
90110
|
-
"fieldName": "
|
|
90111
|
-
"inheritedFrom": {
|
|
90112
|
-
"name": "NavigationItemBase",
|
|
90113
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90114
|
-
}
|
|
92679
|
+
"default": "''",
|
|
92680
|
+
"description": "What the slides are, such as \"Testimonials\": the name of the carousel region.",
|
|
92681
|
+
"fieldName": "label"
|
|
90115
92682
|
},
|
|
90116
92683
|
{
|
|
90117
|
-
"name": "
|
|
92684
|
+
"name": "per-view",
|
|
90118
92685
|
"type": {
|
|
90119
|
-
"text": "
|
|
92686
|
+
"text": "number"
|
|
90120
92687
|
},
|
|
90121
|
-
"
|
|
90122
|
-
"
|
|
90123
|
-
"
|
|
90124
|
-
"name": "NavigationItemBase",
|
|
90125
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90126
|
-
}
|
|
92688
|
+
"default": "1",
|
|
92689
|
+
"description": "How many slides show at once. Fewer show when the carousel is too narrow for them.",
|
|
92690
|
+
"fieldName": "perView"
|
|
90127
92691
|
},
|
|
90128
92692
|
{
|
|
90129
|
-
"name": "
|
|
92693
|
+
"name": "index",
|
|
90130
92694
|
"type": {
|
|
90131
|
-
"text": "
|
|
92695
|
+
"text": "number"
|
|
90132
92696
|
},
|
|
90133
|
-
"default": "
|
|
90134
|
-
"description": "
|
|
90135
|
-
"fieldName": "
|
|
90136
|
-
"inheritedFrom": {
|
|
90137
|
-
"name": "NavigationItemBase",
|
|
90138
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90139
|
-
}
|
|
92697
|
+
"default": "0",
|
|
92698
|
+
"description": "The first slide in view, from 0.",
|
|
92699
|
+
"fieldName": "index"
|
|
90140
92700
|
},
|
|
90141
92701
|
{
|
|
90142
|
-
"name": "
|
|
92702
|
+
"name": "loop",
|
|
90143
92703
|
"type": {
|
|
90144
|
-
"text": "
|
|
92704
|
+
"text": "boolean"
|
|
90145
92705
|
},
|
|
90146
|
-
"
|
|
90147
|
-
"
|
|
90148
|
-
"
|
|
90149
|
-
"name": "NavigationItemBase",
|
|
90150
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90151
|
-
}
|
|
92706
|
+
"default": "false",
|
|
92707
|
+
"description": "Whether previous and next wrap around from the last page to the first and back.",
|
|
92708
|
+
"fieldName": "loop"
|
|
90152
92709
|
},
|
|
90153
92710
|
{
|
|
90154
|
-
"name": "
|
|
92711
|
+
"name": "autoplay",
|
|
90155
92712
|
"type": {
|
|
90156
|
-
"text": "
|
|
92713
|
+
"text": "boolean"
|
|
90157
92714
|
},
|
|
90158
|
-
"
|
|
90159
|
-
"
|
|
90160
|
-
"
|
|
90161
|
-
"name": "NavigationItemBase",
|
|
90162
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
90163
|
-
}
|
|
92715
|
+
"default": "false",
|
|
92716
|
+
"description": "Whether the slides move on by themselves. A stop button comes first in the controls.",
|
|
92717
|
+
"fieldName": "autoplay"
|
|
90164
92718
|
},
|
|
90165
92719
|
{
|
|
90166
|
-
"name": "
|
|
92720
|
+
"name": "interval",
|
|
90167
92721
|
"type": {
|
|
90168
|
-
"text": "
|
|
92722
|
+
"text": "number"
|
|
90169
92723
|
},
|
|
90170
|
-
"default": "
|
|
90171
|
-
"description": "
|
|
90172
|
-
"fieldName": "
|
|
90173
|
-
|
|
90174
|
-
|
|
90175
|
-
|
|
90176
|
-
|
|
90177
|
-
|
|
92724
|
+
"default": "5000",
|
|
92725
|
+
"description": "How long each page shows while `autoplay` runs, in milliseconds.",
|
|
92726
|
+
"fieldName": "interval"
|
|
92727
|
+
}
|
|
92728
|
+
],
|
|
92729
|
+
"superclass": {
|
|
92730
|
+
"name": "LitElement",
|
|
92731
|
+
"package": "lit"
|
|
92732
|
+
},
|
|
92733
|
+
"tagName": "wc-carousel",
|
|
92734
|
+
"customElement": true,
|
|
92735
|
+
"summary": "A row of slides shown one or a few at a time, with previous and next buttons and pickers.",
|
|
92736
|
+
"rawTag": {
|
|
92737
|
+
"name": "carousel",
|
|
92738
|
+
"description": ""
|
|
92739
|
+
}
|
|
92740
|
+
}
|
|
92741
|
+
],
|
|
92742
|
+
"exports": [
|
|
92743
|
+
{
|
|
92744
|
+
"kind": "js",
|
|
92745
|
+
"name": "Carousel",
|
|
92746
|
+
"declaration": {
|
|
92747
|
+
"name": "Carousel",
|
|
92748
|
+
"module": "src/carousel/carousel.ts"
|
|
92749
|
+
}
|
|
92750
|
+
}
|
|
92751
|
+
]
|
|
92752
|
+
},
|
|
92753
|
+
{
|
|
92754
|
+
"kind": "javascript-module",
|
|
92755
|
+
"path": "src/carousel/index.ts",
|
|
92756
|
+
"declarations": [],
|
|
92757
|
+
"exports": [
|
|
92758
|
+
{
|
|
92759
|
+
"kind": "js",
|
|
92760
|
+
"name": "Carousel",
|
|
92761
|
+
"declaration": {
|
|
92762
|
+
"name": "Carousel",
|
|
92763
|
+
"module": "./carousel.js"
|
|
92764
|
+
}
|
|
92765
|
+
},
|
|
92766
|
+
{
|
|
92767
|
+
"kind": "js",
|
|
92768
|
+
"name": "CarouselChangeDetail",
|
|
92769
|
+
"declaration": {
|
|
92770
|
+
"name": "CarouselChangeDetail",
|
|
92771
|
+
"module": "./carousel.js"
|
|
92772
|
+
}
|
|
92773
|
+
}
|
|
92774
|
+
]
|
|
92775
|
+
},
|
|
92776
|
+
{
|
|
92777
|
+
"kind": "javascript-module",
|
|
92778
|
+
"path": "src/video/video-source.ts",
|
|
92779
|
+
"declarations": [
|
|
92780
|
+
{
|
|
92781
|
+
"kind": "function",
|
|
92782
|
+
"name": "parseVideoSource",
|
|
92783
|
+
"return": {
|
|
92784
|
+
"type": {
|
|
92785
|
+
"text": "VideoSource"
|
|
92786
|
+
}
|
|
92787
|
+
},
|
|
92788
|
+
"parameters": [
|
|
90178
92789
|
{
|
|
90179
|
-
"name": "
|
|
92790
|
+
"name": "src",
|
|
90180
92791
|
"type": {
|
|
90181
|
-
"text": "
|
|
90182
|
-
},
|
|
90183
|
-
"description": "Throttles activation clicks by this many milliseconds. No throttle when unset.",
|
|
90184
|
-
"fieldName": "throttleDelay",
|
|
90185
|
-
"inheritedFrom": {
|
|
90186
|
-
"name": "NavigationItemBase",
|
|
90187
|
-
"module": "src/__internal/navigation-item-base.ts"
|
|
92792
|
+
"text": "string"
|
|
90188
92793
|
}
|
|
90189
92794
|
}
|
|
90190
|
-
]
|
|
92795
|
+
],
|
|
92796
|
+
"description": "Reads a video URL. YouTube links play through youtube-nocookie.com and Vimeo links with\n`dnt=1`, so neither sets tracking cookies; any other URL is treated as a video file."
|
|
90191
92797
|
}
|
|
90192
92798
|
],
|
|
90193
92799
|
"exports": [
|
|
90194
92800
|
{
|
|
90195
92801
|
"kind": "js",
|
|
90196
|
-
"name": "
|
|
92802
|
+
"name": "parseVideoSource",
|
|
90197
92803
|
"declaration": {
|
|
90198
|
-
"name": "
|
|
90199
|
-
"module": "src/
|
|
92804
|
+
"name": "parseVideoSource",
|
|
92805
|
+
"module": "src/video/video-source.ts"
|
|
90200
92806
|
}
|
|
90201
92807
|
}
|
|
90202
92808
|
]
|
|
90203
92809
|
},
|
|
90204
92810
|
{
|
|
90205
92811
|
"kind": "javascript-module",
|
|
90206
|
-
"path": "src/
|
|
92812
|
+
"path": "src/video/video.ts",
|
|
90207
92813
|
"declarations": [
|
|
90208
92814
|
{
|
|
90209
92815
|
"kind": "class",
|
|
90210
92816
|
"description": "",
|
|
90211
|
-
"name": "
|
|
90212
|
-
"
|
|
92817
|
+
"name": "Video",
|
|
92818
|
+
"cssProperties": [
|
|
90213
92819
|
{
|
|
90214
|
-
"description": "
|
|
90215
|
-
"name": ""
|
|
92820
|
+
"description": "Corner radius of the frame. Defaults to `--shape-corner-large`.",
|
|
92821
|
+
"name": "--video-shape"
|
|
92822
|
+
}
|
|
92823
|
+
],
|
|
92824
|
+
"cssParts": [
|
|
92825
|
+
{
|
|
92826
|
+
"description": "The frame that holds the poster or the player.",
|
|
92827
|
+
"name": "base"
|
|
90216
92828
|
},
|
|
90217
92829
|
{
|
|
90218
|
-
"description": "The
|
|
90219
|
-
"name": "
|
|
92830
|
+
"description": "The poster button that loads and plays the video.",
|
|
92831
|
+
"name": "play-button"
|
|
90220
92832
|
},
|
|
90221
92833
|
{
|
|
90222
|
-
"description": "The
|
|
90223
|
-
"name": "
|
|
92834
|
+
"description": "The `<iframe>` or `<video>`.",
|
|
92835
|
+
"name": "player"
|
|
92836
|
+
}
|
|
92837
|
+
],
|
|
92838
|
+
"slots": [
|
|
92839
|
+
{
|
|
92840
|
+
"description": "`<track>` elements for a video file's captions and subtitles.",
|
|
92841
|
+
"name": ""
|
|
90224
92842
|
}
|
|
90225
92843
|
],
|
|
90226
92844
|
"members": [
|
|
90227
92845
|
{
|
|
90228
92846
|
"kind": "field",
|
|
90229
|
-
"name": "
|
|
92847
|
+
"name": "src",
|
|
90230
92848
|
"type": {
|
|
90231
|
-
"text": "
|
|
92849
|
+
"text": "string"
|
|
90232
92850
|
},
|
|
90233
|
-
"
|
|
90234
|
-
"
|
|
92851
|
+
"default": "''",
|
|
92852
|
+
"description": "A YouTube or Vimeo link, or the URL of a video file.",
|
|
92853
|
+
"attribute": "src",
|
|
92854
|
+
"reflects": true
|
|
90235
92855
|
},
|
|
90236
92856
|
{
|
|
90237
92857
|
"kind": "field",
|
|
90238
|
-
"name": "
|
|
92858
|
+
"name": "poster",
|
|
90239
92859
|
"type": {
|
|
90240
|
-
"text": "
|
|
92860
|
+
"text": "string"
|
|
90241
92861
|
},
|
|
90242
|
-
"default": "
|
|
90243
|
-
"description": "
|
|
90244
|
-
"attribute": "
|
|
92862
|
+
"default": "''",
|
|
92863
|
+
"description": "An image shown before the video plays. Without one, the frame shows the label on a plain surface.",
|
|
92864
|
+
"attribute": "poster",
|
|
90245
92865
|
"reflects": true
|
|
90246
92866
|
},
|
|
90247
92867
|
{
|
|
90248
92868
|
"kind": "field",
|
|
90249
|
-
"name": "
|
|
92869
|
+
"name": "label",
|
|
90250
92870
|
"type": {
|
|
90251
|
-
"text": "
|
|
92871
|
+
"text": "string"
|
|
90252
92872
|
},
|
|
90253
|
-
"default": "
|
|
90254
|
-
"description": "
|
|
90255
|
-
"attribute": "
|
|
92873
|
+
"default": "''",
|
|
92874
|
+
"description": "The video's title: shown on the poster, and the name of the play button and the player.",
|
|
92875
|
+
"attribute": "label",
|
|
90256
92876
|
"reflects": true
|
|
90257
92877
|
},
|
|
90258
92878
|
{
|
|
90259
92879
|
"kind": "field",
|
|
90260
|
-
"name": "
|
|
92880
|
+
"name": "duration",
|
|
92881
|
+
"type": {
|
|
92882
|
+
"text": "string"
|
|
92883
|
+
},
|
|
92884
|
+
"default": "''",
|
|
92885
|
+
"description": "The video's length as text, such as `9:42`, shown on the poster.",
|
|
92886
|
+
"attribute": "duration",
|
|
92887
|
+
"reflects": true
|
|
92888
|
+
},
|
|
92889
|
+
{
|
|
92890
|
+
"kind": "field",
|
|
92891
|
+
"name": "aspectRatio",
|
|
92892
|
+
"type": {
|
|
92893
|
+
"text": "string"
|
|
92894
|
+
},
|
|
92895
|
+
"default": "'16 / 9'",
|
|
92896
|
+
"description": "The frame's width to height, as a CSS `aspect-ratio`.",
|
|
92897
|
+
"attribute": "aspect-ratio",
|
|
92898
|
+
"reflects": true
|
|
92899
|
+
},
|
|
92900
|
+
{
|
|
92901
|
+
"kind": "field",
|
|
92902
|
+
"name": "loaded",
|
|
90261
92903
|
"type": {
|
|
90262
92904
|
"text": "boolean"
|
|
90263
92905
|
},
|
|
90264
92906
|
"privacy": "private",
|
|
90265
92907
|
"default": "false",
|
|
90266
|
-
"description": "
|
|
92908
|
+
"description": "Whether the person pressed play, so the YouTube or Vimeo player is loaded."
|
|
90267
92909
|
},
|
|
90268
92910
|
{
|
|
90269
92911
|
"kind": "field",
|
|
90270
|
-
"name": "
|
|
92912
|
+
"name": "player",
|
|
90271
92913
|
"type": {
|
|
90272
|
-
"text": "
|
|
92914
|
+
"text": "| HTMLIFrameElement\n | HTMLVideoElement | undefined"
|
|
90273
92915
|
},
|
|
90274
|
-
"
|
|
92916
|
+
"privacy": "private",
|
|
92917
|
+
"readonly": true,
|
|
92918
|
+
"expandedType": {
|
|
92919
|
+
"text": "HTMLIFrameElement | HTMLVideoElement | undefined"
|
|
92920
|
+
}
|
|
90275
92921
|
},
|
|
90276
92922
|
{
|
|
90277
92923
|
"kind": "field",
|
|
90278
|
-
"name": "
|
|
92924
|
+
"name": "i18n",
|
|
92925
|
+
"privacy": "private",
|
|
92926
|
+
"readonly": true,
|
|
92927
|
+
"default": "new I18nController(this)"
|
|
92928
|
+
},
|
|
92929
|
+
{
|
|
92930
|
+
"kind": "field",
|
|
92931
|
+
"name": "focusPlayer",
|
|
90279
92932
|
"type": {
|
|
90280
92933
|
"text": "boolean"
|
|
90281
92934
|
},
|
|
90282
92935
|
"privacy": "private",
|
|
90283
92936
|
"default": "false",
|
|
90284
|
-
"description": "Whether the
|
|
92937
|
+
"description": "Whether the next update moves focus to the player that just loaded."
|
|
90285
92938
|
},
|
|
90286
92939
|
{
|
|
90287
|
-
"kind": "
|
|
90288
|
-
"name": "
|
|
92940
|
+
"kind": "field",
|
|
92941
|
+
"name": "provider",
|
|
92942
|
+
"type": {
|
|
92943
|
+
"text": "VideoProvider"
|
|
92944
|
+
},
|
|
92945
|
+
"description": "Where the video plays from, read from `src`.",
|
|
92946
|
+
"readonly": true,
|
|
92947
|
+
"expandedType": {
|
|
92948
|
+
"text": "'youtube' | 'vimeo' | 'file'"
|
|
92949
|
+
}
|
|
90289
92950
|
},
|
|
90290
92951
|
{
|
|
90291
92952
|
"kind": "method",
|
|
90292
|
-
"name": "
|
|
92953
|
+
"name": "play",
|
|
92954
|
+
"description": "Loads the player and starts the video, as the play button does."
|
|
90293
92955
|
},
|
|
90294
92956
|
{
|
|
90295
|
-
"kind": "
|
|
90296
|
-
"name": "
|
|
90297
|
-
"
|
|
90298
|
-
|
|
90299
|
-
|
|
90300
|
-
|
|
90301
|
-
|
|
90302
|
-
|
|
90303
|
-
|
|
90304
|
-
|
|
90305
|
-
|
|
90306
|
-
"
|
|
92957
|
+
"kind": "field",
|
|
92958
|
+
"name": "source",
|
|
92959
|
+
"type": {
|
|
92960
|
+
"text": "VideoSource"
|
|
92961
|
+
},
|
|
92962
|
+
"privacy": "private",
|
|
92963
|
+
"readonly": true
|
|
92964
|
+
},
|
|
92965
|
+
{
|
|
92966
|
+
"kind": "field",
|
|
92967
|
+
"name": "name",
|
|
92968
|
+
"privacy": "private",
|
|
92969
|
+
"readonly": true
|
|
90307
92970
|
},
|
|
90308
92971
|
{
|
|
90309
92972
|
"kind": "method",
|
|
90310
|
-
"name": "
|
|
92973
|
+
"name": "syncTracks",
|
|
90311
92974
|
"privacy": "private",
|
|
90312
|
-
"description": "
|
|
92975
|
+
"description": "Copies the light DOM `<track>` children into the shadow `<video>`, where tracks must be."
|
|
92976
|
+
},
|
|
92977
|
+
{
|
|
92978
|
+
"kind": "field",
|
|
92979
|
+
"name": "handleSlotChange",
|
|
92980
|
+
"privacy": "private",
|
|
92981
|
+
"readonly": true
|
|
92982
|
+
},
|
|
92983
|
+
{
|
|
92984
|
+
"kind": "field",
|
|
92985
|
+
"name": "handleVideoPlay",
|
|
92986
|
+
"privacy": "private",
|
|
92987
|
+
"readonly": true
|
|
90313
92988
|
},
|
|
90314
92989
|
{
|
|
90315
92990
|
"kind": "method",
|
|
90316
|
-
"name": "
|
|
90317
|
-
"privacy": "private"
|
|
92991
|
+
"name": "renderFile",
|
|
92992
|
+
"privacy": "private",
|
|
92993
|
+
"parameters": [
|
|
92994
|
+
{
|
|
92995
|
+
"name": "url",
|
|
92996
|
+
"type": {
|
|
92997
|
+
"text": "string"
|
|
92998
|
+
}
|
|
92999
|
+
}
|
|
93000
|
+
]
|
|
90318
93001
|
},
|
|
90319
93002
|
{
|
|
90320
93003
|
"kind": "method",
|
|
90321
|
-
"name": "
|
|
93004
|
+
"name": "renderEmbed",
|
|
90322
93005
|
"privacy": "private",
|
|
90323
93006
|
"parameters": [
|
|
90324
93007
|
{
|
|
90325
|
-
"name": "
|
|
93008
|
+
"name": "source",
|
|
90326
93009
|
"type": {
|
|
90327
|
-
"text": "
|
|
93010
|
+
"text": "VideoSource"
|
|
90328
93011
|
}
|
|
90329
93012
|
}
|
|
90330
93013
|
]
|
|
@@ -90332,54 +93015,69 @@
|
|
|
90332
93015
|
],
|
|
90333
93016
|
"events": [
|
|
90334
93017
|
{
|
|
93018
|
+
"name": "play",
|
|
90335
93019
|
"type": {
|
|
90336
93020
|
"text": "CustomEvent"
|
|
90337
|
-
}
|
|
93021
|
+
},
|
|
93022
|
+
"description": "Dispatched when the person starts the video: the player loads, or the file starts playing."
|
|
93023
|
+
}
|
|
93024
|
+
],
|
|
93025
|
+
"attributes": [
|
|
93026
|
+
{
|
|
93027
|
+
"name": "src",
|
|
93028
|
+
"type": {
|
|
93029
|
+
"text": "string"
|
|
93030
|
+
},
|
|
93031
|
+
"default": "''",
|
|
93032
|
+
"description": "A YouTube or Vimeo link, or the URL of a video file.",
|
|
93033
|
+
"fieldName": "src"
|
|
90338
93034
|
},
|
|
90339
93035
|
{
|
|
93036
|
+
"name": "poster",
|
|
90340
93037
|
"type": {
|
|
90341
|
-
"text": "
|
|
93038
|
+
"text": "string"
|
|
90342
93039
|
},
|
|
90343
|
-
"
|
|
90344
|
-
"
|
|
93040
|
+
"default": "''",
|
|
93041
|
+
"description": "An image shown before the video plays. Without one, the frame shows the label on a plain surface.",
|
|
93042
|
+
"fieldName": "poster"
|
|
90345
93043
|
},
|
|
90346
93044
|
{
|
|
93045
|
+
"name": "label",
|
|
90347
93046
|
"type": {
|
|
90348
|
-
"text": "
|
|
93047
|
+
"text": "string"
|
|
90349
93048
|
},
|
|
90350
|
-
"
|
|
90351
|
-
"
|
|
90352
|
-
|
|
90353
|
-
|
|
90354
|
-
"attributes": [
|
|
93049
|
+
"default": "''",
|
|
93050
|
+
"description": "The video's title: shown on the poster, and the name of the play button and the player.",
|
|
93051
|
+
"fieldName": "label"
|
|
93052
|
+
},
|
|
90355
93053
|
{
|
|
90356
|
-
"name": "
|
|
93054
|
+
"name": "duration",
|
|
90357
93055
|
"type": {
|
|
90358
|
-
"text": "
|
|
93056
|
+
"text": "string"
|
|
90359
93057
|
},
|
|
90360
|
-
"default": "
|
|
90361
|
-
"description": "
|
|
90362
|
-
"fieldName": "
|
|
93058
|
+
"default": "''",
|
|
93059
|
+
"description": "The video's length as text, such as `9:42`, shown on the poster.",
|
|
93060
|
+
"fieldName": "duration"
|
|
90363
93061
|
},
|
|
90364
93062
|
{
|
|
90365
|
-
"name": "
|
|
93063
|
+
"name": "aspect-ratio",
|
|
90366
93064
|
"type": {
|
|
90367
|
-
"text": "
|
|
93065
|
+
"text": "string"
|
|
90368
93066
|
},
|
|
90369
|
-
"default": "
|
|
90370
|
-
"description": "
|
|
90371
|
-
"fieldName": "
|
|
93067
|
+
"default": "'16 / 9'",
|
|
93068
|
+
"description": "The frame's width to height, as a CSS `aspect-ratio`.",
|
|
93069
|
+
"fieldName": "aspectRatio"
|
|
90372
93070
|
}
|
|
90373
93071
|
],
|
|
90374
93072
|
"superclass": {
|
|
90375
93073
|
"name": "LitElement",
|
|
90376
93074
|
"package": "lit"
|
|
90377
93075
|
},
|
|
90378
|
-
"tagName": "wc-
|
|
93076
|
+
"tagName": "wc-video",
|
|
90379
93077
|
"customElement": true,
|
|
90380
|
-
"summary": "
|
|
93078
|
+
"summary": "A video from YouTube, Vimeo or a file, that loads its player only when the person presses play.",
|
|
90381
93079
|
"rawTag": {
|
|
90382
|
-
"name": "
|
|
93080
|
+
"name": "video",
|
|
90383
93081
|
"description": ""
|
|
90384
93082
|
}
|
|
90385
93083
|
}
|
|
@@ -90387,233 +93085,246 @@
|
|
|
90387
93085
|
"exports": [
|
|
90388
93086
|
{
|
|
90389
93087
|
"kind": "js",
|
|
90390
|
-
"name": "
|
|
93088
|
+
"name": "VideoProvider",
|
|
90391
93089
|
"declaration": {
|
|
90392
|
-
"name": "
|
|
90393
|
-
"module": "
|
|
93090
|
+
"name": "VideoProvider",
|
|
93091
|
+
"module": "./video-source.js"
|
|
93092
|
+
}
|
|
93093
|
+
},
|
|
93094
|
+
{
|
|
93095
|
+
"kind": "js",
|
|
93096
|
+
"name": "Video",
|
|
93097
|
+
"declaration": {
|
|
93098
|
+
"name": "Video",
|
|
93099
|
+
"module": "src/video/video.ts"
|
|
90394
93100
|
}
|
|
90395
93101
|
}
|
|
90396
93102
|
]
|
|
90397
93103
|
},
|
|
90398
93104
|
{
|
|
90399
93105
|
"kind": "javascript-module",
|
|
90400
|
-
"path": "src/
|
|
93106
|
+
"path": "src/video/index.ts",
|
|
93107
|
+
"declarations": [],
|
|
93108
|
+
"exports": [
|
|
93109
|
+
{
|
|
93110
|
+
"kind": "js",
|
|
93111
|
+
"name": "Video",
|
|
93112
|
+
"declaration": {
|
|
93113
|
+
"name": "Video",
|
|
93114
|
+
"module": "./video.js"
|
|
93115
|
+
}
|
|
93116
|
+
},
|
|
93117
|
+
{
|
|
93118
|
+
"kind": "js",
|
|
93119
|
+
"name": "VideoProvider",
|
|
93120
|
+
"declaration": {
|
|
93121
|
+
"name": "VideoProvider",
|
|
93122
|
+
"module": "./video.js"
|
|
93123
|
+
}
|
|
93124
|
+
},
|
|
93125
|
+
{
|
|
93126
|
+
"kind": "js",
|
|
93127
|
+
"name": "parseVideoSource",
|
|
93128
|
+
"declaration": {
|
|
93129
|
+
"name": "parseVideoSource",
|
|
93130
|
+
"module": "./video-source.js"
|
|
93131
|
+
}
|
|
93132
|
+
}
|
|
93133
|
+
]
|
|
93134
|
+
},
|
|
93135
|
+
{
|
|
93136
|
+
"kind": "javascript-module",
|
|
93137
|
+
"path": "src/highlight/matches.ts",
|
|
93138
|
+
"declarations": [
|
|
93139
|
+
{
|
|
93140
|
+
"kind": "function",
|
|
93141
|
+
"name": "mergeRanges",
|
|
93142
|
+
"parameters": [
|
|
93143
|
+
{
|
|
93144
|
+
"name": "ranges",
|
|
93145
|
+
"type": {
|
|
93146
|
+
"text": "readonly HighlightRange[]"
|
|
93147
|
+
}
|
|
93148
|
+
},
|
|
93149
|
+
{
|
|
93150
|
+
"name": "length",
|
|
93151
|
+
"type": {
|
|
93152
|
+
"text": "number"
|
|
93153
|
+
}
|
|
93154
|
+
}
|
|
93155
|
+
],
|
|
93156
|
+
"description": "Sorts ranges and merges the ones that touch or overlap."
|
|
93157
|
+
},
|
|
93158
|
+
{
|
|
93159
|
+
"kind": "function",
|
|
93160
|
+
"name": "findMatches",
|
|
93161
|
+
"return": {
|
|
93162
|
+
"type": {
|
|
93163
|
+
"text": "HighlightRange[]"
|
|
93164
|
+
}
|
|
93165
|
+
},
|
|
93166
|
+
"parameters": [
|
|
93167
|
+
{
|
|
93168
|
+
"name": "text",
|
|
93169
|
+
"type": {
|
|
93170
|
+
"text": "string"
|
|
93171
|
+
}
|
|
93172
|
+
},
|
|
93173
|
+
{
|
|
93174
|
+
"name": "query",
|
|
93175
|
+
"type": {
|
|
93176
|
+
"text": "string"
|
|
93177
|
+
}
|
|
93178
|
+
},
|
|
93179
|
+
{
|
|
93180
|
+
"name": "locale",
|
|
93181
|
+
"default": "'en'"
|
|
93182
|
+
}
|
|
93183
|
+
],
|
|
93184
|
+
"description": "Where the words of `query` occur in `text`, each word on its own, ignoring case and accents.\nRanges are sorted and do not overlap."
|
|
93185
|
+
}
|
|
93186
|
+
],
|
|
93187
|
+
"exports": [
|
|
93188
|
+
{
|
|
93189
|
+
"kind": "js",
|
|
93190
|
+
"name": "mergeRanges",
|
|
93191
|
+
"declaration": {
|
|
93192
|
+
"name": "mergeRanges",
|
|
93193
|
+
"module": "src/highlight/matches.ts"
|
|
93194
|
+
}
|
|
93195
|
+
},
|
|
93196
|
+
{
|
|
93197
|
+
"kind": "js",
|
|
93198
|
+
"name": "findMatches",
|
|
93199
|
+
"declaration": {
|
|
93200
|
+
"name": "findMatches",
|
|
93201
|
+
"module": "src/highlight/matches.ts"
|
|
93202
|
+
}
|
|
93203
|
+
}
|
|
93204
|
+
]
|
|
93205
|
+
},
|
|
93206
|
+
{
|
|
93207
|
+
"kind": "javascript-module",
|
|
93208
|
+
"path": "src/highlight/highlight.ts",
|
|
90401
93209
|
"declarations": [
|
|
90402
93210
|
{
|
|
90403
93211
|
"kind": "class",
|
|
90404
93212
|
"description": "",
|
|
90405
|
-
"name": "
|
|
93213
|
+
"name": "Highlight",
|
|
90406
93214
|
"cssProperties": [
|
|
90407
93215
|
{
|
|
90408
|
-
"description": "
|
|
90409
|
-
"name": "--
|
|
93216
|
+
"description": "Background of the marks. Defaults to `--color-tertiary-container`.",
|
|
93217
|
+
"name": "--highlight-background"
|
|
90410
93218
|
},
|
|
90411
93219
|
{
|
|
90412
|
-
"description": "
|
|
90413
|
-
"name": "--
|
|
93220
|
+
"description": "Text colour of the marks. Defaults to `--color-on-tertiary-container`.",
|
|
93221
|
+
"name": "--highlight-color"
|
|
93222
|
+
}
|
|
93223
|
+
],
|
|
93224
|
+
"cssParts": [
|
|
93225
|
+
{
|
|
93226
|
+
"description": "Each marked run of text, a `<mark>` element.",
|
|
93227
|
+
"name": "mark"
|
|
90414
93228
|
}
|
|
90415
93229
|
],
|
|
90416
93230
|
"slots": [
|
|
90417
93231
|
{
|
|
90418
|
-
"description": "The
|
|
93232
|
+
"description": "The text. Only its text content is used; markup in it is not rendered.",
|
|
90419
93233
|
"name": ""
|
|
90420
|
-
},
|
|
90421
|
-
{
|
|
90422
|
-
"description": "Content above the items, after the headline.",
|
|
90423
|
-
"name": "header"
|
|
90424
93234
|
}
|
|
90425
93235
|
],
|
|
90426
93236
|
"members": [
|
|
90427
93237
|
{
|
|
90428
93238
|
"kind": "field",
|
|
90429
|
-
"name": "
|
|
90430
|
-
"static": true,
|
|
90431
|
-
"default": "NavigationDrawerItem"
|
|
90432
|
-
},
|
|
90433
|
-
{
|
|
90434
|
-
"kind": "field",
|
|
90435
|
-
"name": "Group",
|
|
90436
|
-
"static": true,
|
|
90437
|
-
"default": "NavigationDrawerGroup"
|
|
90438
|
-
},
|
|
90439
|
-
{
|
|
90440
|
-
"kind": "field",
|
|
90441
|
-
"name": "open",
|
|
93239
|
+
"name": "query",
|
|
90442
93240
|
"type": {
|
|
90443
|
-
"text": "
|
|
93241
|
+
"text": "string"
|
|
90444
93242
|
},
|
|
90445
|
-
"default": "
|
|
90446
|
-
"description": "
|
|
90447
|
-
"attribute": "
|
|
93243
|
+
"default": "''",
|
|
93244
|
+
"description": "The search query whose words are marked.",
|
|
93245
|
+
"attribute": "query",
|
|
90448
93246
|
"reflects": true
|
|
90449
93247
|
},
|
|
90450
93248
|
{
|
|
90451
93249
|
"kind": "field",
|
|
90452
|
-
"name": "
|
|
93250
|
+
"name": "ranges",
|
|
90453
93251
|
"type": {
|
|
90454
|
-
"text": "
|
|
93252
|
+
"text": "HighlightRange[] | undefined"
|
|
90455
93253
|
},
|
|
90456
|
-
"
|
|
90457
|
-
"description": "`\"standard\"` sits in the layout; `\"modal\"` opens over the page with a scrim.",
|
|
90458
|
-
"attribute": "variant",
|
|
90459
|
-
"reflects": true
|
|
93254
|
+
"description": "Runs to mark, as `[start, end)` offsets in the element's `textContent`, for matches the server\nalready found. When set, `query` is ignored."
|
|
90460
93255
|
},
|
|
90461
93256
|
{
|
|
90462
93257
|
"kind": "field",
|
|
90463
|
-
"name": "
|
|
93258
|
+
"name": "locale",
|
|
90464
93259
|
"type": {
|
|
90465
|
-
"text": "string"
|
|
93260
|
+
"text": "string | undefined"
|
|
90466
93261
|
},
|
|
90467
|
-
"
|
|
90468
|
-
"
|
|
90469
|
-
"
|
|
93262
|
+
"description": "The language to fold case in. Defaults to the nearest `lang`, else the browser's.",
|
|
93263
|
+
"attribute": "locale",
|
|
93264
|
+
"reflects": true
|
|
90470
93265
|
},
|
|
90471
93266
|
{
|
|
90472
93267
|
"kind": "field",
|
|
90473
|
-
"name": "
|
|
93268
|
+
"name": "text",
|
|
90474
93269
|
"type": {
|
|
90475
|
-
"text": "
|
|
93270
|
+
"text": "string"
|
|
90476
93271
|
},
|
|
90477
|
-
"privacy": "private"
|
|
93272
|
+
"privacy": "private",
|
|
93273
|
+
"default": "''",
|
|
93274
|
+
"description": "The element's text content."
|
|
90478
93275
|
},
|
|
90479
93276
|
{
|
|
90480
93277
|
"kind": "field",
|
|
90481
|
-
"name": "
|
|
93278
|
+
"name": "textObserver",
|
|
90482
93279
|
"privacy": "private",
|
|
90483
93280
|
"readonly": true,
|
|
90484
|
-
"default": "new
|
|
90485
|
-
"description": "
|
|
90486
|
-
},
|
|
90487
|
-
{
|
|
90488
|
-
"kind": "method",
|
|
90489
|
-
"name": "show",
|
|
90490
|
-
"description": "Opens the drawer."
|
|
90491
|
-
},
|
|
90492
|
-
{
|
|
90493
|
-
"kind": "method",
|
|
90494
|
-
"name": "close",
|
|
90495
|
-
"description": "Closes the drawer."
|
|
90496
|
-
},
|
|
90497
|
-
{
|
|
90498
|
-
"kind": "method",
|
|
90499
|
-
"name": "getItems",
|
|
90500
|
-
"privacy": "private",
|
|
90501
|
-
"return": {
|
|
90502
|
-
"type": {
|
|
90503
|
-
"text": "NavigationDrawerItem[]"
|
|
90504
|
-
}
|
|
90505
|
-
}
|
|
90506
|
-
},
|
|
90507
|
-
{
|
|
90508
|
-
"kind": "method",
|
|
90509
|
-
"name": "syncDialog",
|
|
90510
|
-
"privacy": "private"
|
|
93281
|
+
"default": "new MutationObserver(() => this.syncText())",
|
|
93282
|
+
"description": "Watches the text, so the marks follow when it changes."
|
|
90511
93283
|
},
|
|
90512
93284
|
{
|
|
90513
93285
|
"kind": "field",
|
|
90514
|
-
"name": "
|
|
90515
|
-
"
|
|
90516
|
-
|
|
90517
|
-
|
|
90518
|
-
"kind": "method",
|
|
90519
|
-
"name": "handleCancel",
|
|
90520
|
-
"privacy": "private",
|
|
90521
|
-
"parameters": [
|
|
90522
|
-
{
|
|
90523
|
-
"name": "event",
|
|
90524
|
-
"type": {
|
|
90525
|
-
"text": "Event"
|
|
90526
|
-
}
|
|
90527
|
-
}
|
|
90528
|
-
],
|
|
90529
|
-
"description": "Escape: close through `open` so the property stays the source of truth."
|
|
90530
|
-
},
|
|
90531
|
-
{
|
|
90532
|
-
"kind": "method",
|
|
90533
|
-
"name": "handleDialogClick",
|
|
93286
|
+
"name": "marks",
|
|
93287
|
+
"type": {
|
|
93288
|
+
"text": "HighlightRange[]"
|
|
93289
|
+
},
|
|
90534
93290
|
"privacy": "private",
|
|
90535
|
-
"
|
|
90536
|
-
|
|
90537
|
-
"name": "event",
|
|
90538
|
-
"type": {
|
|
90539
|
-
"text": "MouseEvent"
|
|
90540
|
-
}
|
|
90541
|
-
}
|
|
90542
|
-
],
|
|
90543
|
-
"description": "A click that lands on the dialog itself, not its content, is a scrim click."
|
|
93291
|
+
"description": "The runs to mark, as `[start, end)` offsets in the text.",
|
|
93292
|
+
"readonly": true
|
|
90544
93293
|
},
|
|
90545
93294
|
{
|
|
90546
93295
|
"kind": "method",
|
|
90547
|
-
"name": "
|
|
93296
|
+
"name": "syncText",
|
|
90548
93297
|
"privacy": "private"
|
|
90549
93298
|
}
|
|
90550
93299
|
],
|
|
90551
|
-
"events": [
|
|
90552
|
-
{
|
|
90553
|
-
"type": {
|
|
90554
|
-
"text": "CustomEvent"
|
|
90555
|
-
}
|
|
90556
|
-
},
|
|
90557
|
-
{
|
|
90558
|
-
"type": {
|
|
90559
|
-
"text": "CustomEvent<{value: string | undefined, index: number, item: NavigationDrawerItem}>"
|
|
90560
|
-
},
|
|
90561
|
-
"description": "Dispatched when the user activates an item. `index` counts every item in the drawer, in groups too, in document order.",
|
|
90562
|
-
"name": "change"
|
|
90563
|
-
},
|
|
90564
|
-
{
|
|
90565
|
-
"type": {
|
|
90566
|
-
"text": "CustomEvent"
|
|
90567
|
-
},
|
|
90568
|
-
"description": "Dispatched when the drawer opens.",
|
|
90569
|
-
"name": "open"
|
|
90570
|
-
},
|
|
90571
|
-
{
|
|
90572
|
-
"type": {
|
|
90573
|
-
"text": "CustomEvent"
|
|
90574
|
-
},
|
|
90575
|
-
"description": "Dispatched when the drawer closes.",
|
|
90576
|
-
"name": "close"
|
|
90577
|
-
}
|
|
90578
|
-
],
|
|
90579
93300
|
"attributes": [
|
|
90580
93301
|
{
|
|
90581
|
-
"name": "
|
|
90582
|
-
"type": {
|
|
90583
|
-
"text": "boolean"
|
|
90584
|
-
},
|
|
90585
|
-
"default": "false",
|
|
90586
|
-
"description": "Whether the drawer is shown.",
|
|
90587
|
-
"fieldName": "open"
|
|
90588
|
-
},
|
|
90589
|
-
{
|
|
90590
|
-
"name": "variant",
|
|
93302
|
+
"name": "query",
|
|
90591
93303
|
"type": {
|
|
90592
|
-
"text": "
|
|
93304
|
+
"text": "string"
|
|
90593
93305
|
},
|
|
90594
|
-
"default": "'
|
|
90595
|
-
"description": "
|
|
90596
|
-
"fieldName": "
|
|
93306
|
+
"default": "''",
|
|
93307
|
+
"description": "The search query whose words are marked.",
|
|
93308
|
+
"fieldName": "query"
|
|
90597
93309
|
},
|
|
90598
93310
|
{
|
|
90599
|
-
"name": "
|
|
93311
|
+
"name": "locale",
|
|
90600
93312
|
"type": {
|
|
90601
|
-
"text": "string"
|
|
93313
|
+
"text": "string | undefined"
|
|
90602
93314
|
},
|
|
90603
|
-
"
|
|
90604
|
-
"
|
|
90605
|
-
"fieldName": "headline"
|
|
93315
|
+
"description": "The language to fold case in. Defaults to the nearest `lang`, else the browser's.",
|
|
93316
|
+
"fieldName": "locale"
|
|
90606
93317
|
}
|
|
90607
93318
|
],
|
|
90608
93319
|
"superclass": {
|
|
90609
93320
|
"name": "LitElement",
|
|
90610
93321
|
"package": "lit"
|
|
90611
93322
|
},
|
|
90612
|
-
"tagName": "wc-
|
|
93323
|
+
"tagName": "wc-highlight",
|
|
90613
93324
|
"customElement": true,
|
|
90614
|
-
"summary": "
|
|
93325
|
+
"summary": "Marks the words of a search query in a piece of text.",
|
|
90615
93326
|
"rawTag": {
|
|
90616
|
-
"name": "
|
|
93327
|
+
"name": "highlight",
|
|
90617
93328
|
"description": ""
|
|
90618
93329
|
}
|
|
90619
93330
|
}
|
|
@@ -90621,41 +93332,49 @@
|
|
|
90621
93332
|
"exports": [
|
|
90622
93333
|
{
|
|
90623
93334
|
"kind": "js",
|
|
90624
|
-
"name": "
|
|
93335
|
+
"name": "HighlightRange",
|
|
90625
93336
|
"declaration": {
|
|
90626
|
-
"name": "
|
|
90627
|
-
"module": "
|
|
93337
|
+
"name": "HighlightRange",
|
|
93338
|
+
"module": "./matches.js"
|
|
93339
|
+
}
|
|
93340
|
+
},
|
|
93341
|
+
{
|
|
93342
|
+
"kind": "js",
|
|
93343
|
+
"name": "Highlight",
|
|
93344
|
+
"declaration": {
|
|
93345
|
+
"name": "Highlight",
|
|
93346
|
+
"module": "src/highlight/highlight.ts"
|
|
90628
93347
|
}
|
|
90629
93348
|
}
|
|
90630
93349
|
]
|
|
90631
93350
|
},
|
|
90632
93351
|
{
|
|
90633
93352
|
"kind": "javascript-module",
|
|
90634
|
-
"path": "src/
|
|
93353
|
+
"path": "src/highlight/index.ts",
|
|
90635
93354
|
"declarations": [],
|
|
90636
93355
|
"exports": [
|
|
90637
93356
|
{
|
|
90638
93357
|
"kind": "js",
|
|
90639
|
-
"name": "
|
|
93358
|
+
"name": "Highlight",
|
|
90640
93359
|
"declaration": {
|
|
90641
|
-
"name": "
|
|
90642
|
-
"module": "./
|
|
93360
|
+
"name": "Highlight",
|
|
93361
|
+
"module": "./highlight.js"
|
|
90643
93362
|
}
|
|
90644
93363
|
},
|
|
90645
93364
|
{
|
|
90646
93365
|
"kind": "js",
|
|
90647
|
-
"name": "
|
|
93366
|
+
"name": "HighlightRange",
|
|
90648
93367
|
"declaration": {
|
|
90649
|
-
"name": "
|
|
90650
|
-
"module": "./
|
|
93368
|
+
"name": "HighlightRange",
|
|
93369
|
+
"module": "./highlight.js"
|
|
90651
93370
|
}
|
|
90652
93371
|
},
|
|
90653
93372
|
{
|
|
90654
93373
|
"kind": "js",
|
|
90655
|
-
"name": "
|
|
93374
|
+
"name": "findMatches",
|
|
90656
93375
|
"declaration": {
|
|
90657
|
-
"name": "
|
|
90658
|
-
"module": "./
|
|
93376
|
+
"name": "findMatches",
|
|
93377
|
+
"module": "./matches.js"
|
|
90659
93378
|
}
|
|
90660
93379
|
}
|
|
90661
93380
|
]
|
|
@@ -155928,6 +158647,142 @@
|
|
|
155928
158647
|
"module": "./navigation-drawer/index.js"
|
|
155929
158648
|
}
|
|
155930
158649
|
},
|
|
158650
|
+
{
|
|
158651
|
+
"kind": "js",
|
|
158652
|
+
"name": "SiteHeader",
|
|
158653
|
+
"declaration": {
|
|
158654
|
+
"name": "SiteHeader",
|
|
158655
|
+
"module": "./site-header/index.js"
|
|
158656
|
+
}
|
|
158657
|
+
},
|
|
158658
|
+
{
|
|
158659
|
+
"kind": "js",
|
|
158660
|
+
"name": "SiteNavMenu",
|
|
158661
|
+
"declaration": {
|
|
158662
|
+
"name": "SiteNavMenu",
|
|
158663
|
+
"module": "./site-header/index.js"
|
|
158664
|
+
}
|
|
158665
|
+
},
|
|
158666
|
+
{
|
|
158667
|
+
"kind": "js",
|
|
158668
|
+
"name": "SiteNavGroup",
|
|
158669
|
+
"declaration": {
|
|
158670
|
+
"name": "SiteNavGroup",
|
|
158671
|
+
"module": "./site-header/index.js"
|
|
158672
|
+
}
|
|
158673
|
+
},
|
|
158674
|
+
{
|
|
158675
|
+
"kind": "js",
|
|
158676
|
+
"name": "SiteNavLink",
|
|
158677
|
+
"declaration": {
|
|
158678
|
+
"name": "SiteNavLink",
|
|
158679
|
+
"module": "./site-header/index.js"
|
|
158680
|
+
}
|
|
158681
|
+
},
|
|
158682
|
+
{
|
|
158683
|
+
"kind": "js",
|
|
158684
|
+
"name": "SiteHeaderCloseDetail",
|
|
158685
|
+
"declaration": {
|
|
158686
|
+
"name": "SiteHeaderCloseDetail",
|
|
158687
|
+
"module": "./site-header/index.js"
|
|
158688
|
+
}
|
|
158689
|
+
},
|
|
158690
|
+
{
|
|
158691
|
+
"kind": "js",
|
|
158692
|
+
"name": "SiteNavMenuCloseDetail",
|
|
158693
|
+
"declaration": {
|
|
158694
|
+
"name": "SiteNavMenuCloseDetail",
|
|
158695
|
+
"module": "./site-header/index.js"
|
|
158696
|
+
}
|
|
158697
|
+
},
|
|
158698
|
+
{
|
|
158699
|
+
"kind": "js",
|
|
158700
|
+
"name": "SiteNavMenuCloseReason",
|
|
158701
|
+
"declaration": {
|
|
158702
|
+
"name": "SiteNavMenuCloseReason",
|
|
158703
|
+
"module": "./site-header/index.js"
|
|
158704
|
+
}
|
|
158705
|
+
},
|
|
158706
|
+
{
|
|
158707
|
+
"kind": "js",
|
|
158708
|
+
"name": "SiteFooter",
|
|
158709
|
+
"declaration": {
|
|
158710
|
+
"name": "SiteFooter",
|
|
158711
|
+
"module": "./site-footer/index.js"
|
|
158712
|
+
}
|
|
158713
|
+
},
|
|
158714
|
+
{
|
|
158715
|
+
"kind": "js",
|
|
158716
|
+
"name": "SiteFooterGroup",
|
|
158717
|
+
"declaration": {
|
|
158718
|
+
"name": "SiteFooterGroup",
|
|
158719
|
+
"module": "./site-footer/index.js"
|
|
158720
|
+
}
|
|
158721
|
+
},
|
|
158722
|
+
{
|
|
158723
|
+
"kind": "js",
|
|
158724
|
+
"name": "Carousel",
|
|
158725
|
+
"declaration": {
|
|
158726
|
+
"name": "Carousel",
|
|
158727
|
+
"module": "./carousel/index.js"
|
|
158728
|
+
}
|
|
158729
|
+
},
|
|
158730
|
+
{
|
|
158731
|
+
"kind": "js",
|
|
158732
|
+
"name": "CarouselChangeDetail",
|
|
158733
|
+
"declaration": {
|
|
158734
|
+
"name": "CarouselChangeDetail",
|
|
158735
|
+
"module": "./carousel/index.js"
|
|
158736
|
+
}
|
|
158737
|
+
},
|
|
158738
|
+
{
|
|
158739
|
+
"kind": "js",
|
|
158740
|
+
"name": "Video",
|
|
158741
|
+
"declaration": {
|
|
158742
|
+
"name": "Video",
|
|
158743
|
+
"module": "./video/index.js"
|
|
158744
|
+
}
|
|
158745
|
+
},
|
|
158746
|
+
{
|
|
158747
|
+
"kind": "js",
|
|
158748
|
+
"name": "parseVideoSource",
|
|
158749
|
+
"declaration": {
|
|
158750
|
+
"name": "parseVideoSource",
|
|
158751
|
+
"module": "./video/index.js"
|
|
158752
|
+
}
|
|
158753
|
+
},
|
|
158754
|
+
{
|
|
158755
|
+
"kind": "js",
|
|
158756
|
+
"name": "VideoProvider",
|
|
158757
|
+
"declaration": {
|
|
158758
|
+
"name": "VideoProvider",
|
|
158759
|
+
"module": "./video/index.js"
|
|
158760
|
+
}
|
|
158761
|
+
},
|
|
158762
|
+
{
|
|
158763
|
+
"kind": "js",
|
|
158764
|
+
"name": "Highlight",
|
|
158765
|
+
"declaration": {
|
|
158766
|
+
"name": "Highlight",
|
|
158767
|
+
"module": "./highlight/index.js"
|
|
158768
|
+
}
|
|
158769
|
+
},
|
|
158770
|
+
{
|
|
158771
|
+
"kind": "js",
|
|
158772
|
+
"name": "findMatches",
|
|
158773
|
+
"declaration": {
|
|
158774
|
+
"name": "findMatches",
|
|
158775
|
+
"module": "./highlight/index.js"
|
|
158776
|
+
}
|
|
158777
|
+
},
|
|
158778
|
+
{
|
|
158779
|
+
"kind": "js",
|
|
158780
|
+
"name": "HighlightRange",
|
|
158781
|
+
"declaration": {
|
|
158782
|
+
"name": "HighlightRange",
|
|
158783
|
+
"module": "./highlight/index.js"
|
|
158784
|
+
}
|
|
158785
|
+
},
|
|
155931
158786
|
{
|
|
155932
158787
|
"kind": "js",
|
|
155933
158788
|
"name": "Listbox",
|