From 148b4fc148e71d8fd0dc7dabef1db4559a1e8b91 Mon Sep 17 00:00:00 2001 From: lit-robot Date: Sat, 9 Aug 2025 15:21:41 +0000 Subject: [PATCH] docs: update API docs --- custom-elements.json | 65675 +++++++++++++++++++++++++++++++ docs/components/button.md | 5 + docs/components/chip.md | 2 + docs/components/icon-button.md | 4 + docs/components/list.md | 10 + docs/components/progress.md | 1 + docs/components/select.md | 2 + docs/components/text-field.md | 2 + 8 files changed, 65701 insertions(+) create mode 100644 custom-elements.json diff --git a/custom-elements.json b/custom-elements.json new file mode 100644 index 0000000000..c063688f54 --- /dev/null +++ b/custom-elements.json @@ -0,0 +1,65675 @@ +{ + "schemaVersion": "1.0.0", + "modules": [ + { + "kind": "javascript-module", + "path": "all.js", + "exports": [ + { + "kind": "js", + "name": "MdElevatedButton", + "declaration": { + "name": "MdElevatedButton", + "package": "@material/web", + "module": "button/elevated-button.js" + } + }, + { + "kind": "js", + "name": "MdFilledButton", + "declaration": { + "name": "MdFilledButton", + "package": "@material/web", + "module": "button/filled-button.js" + } + }, + { + "kind": "js", + "name": "MdFilledTonalButton", + "declaration": { + "name": "MdFilledTonalButton", + "package": "@material/web", + "module": "button/filled-tonal-button.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedButton", + "declaration": { + "name": "MdOutlinedButton", + "package": "@material/web", + "module": "button/outlined-button.js" + } + }, + { + "kind": "js", + "name": "MdTextButton", + "declaration": { + "name": "MdTextButton", + "package": "@material/web", + "module": "button/text-button.js" + } + }, + { + "kind": "js", + "name": "MdCheckbox", + "declaration": { + "name": "MdCheckbox", + "package": "@material/web", + "module": "checkbox/checkbox.js" + } + }, + { + "kind": "js", + "name": "MdAssistChip", + "declaration": { + "name": "MdAssistChip", + "package": "@material/web", + "module": "chips/assist-chip.js" + } + }, + { + "kind": "js", + "name": "MdChipSet", + "declaration": { + "name": "MdChipSet", + "package": "@material/web", + "module": "chips/chip-set.js" + } + }, + { + "kind": "js", + "name": "MdFilterChip", + "declaration": { + "name": "MdFilterChip", + "package": "@material/web", + "module": "chips/filter-chip.js" + } + }, + { + "kind": "js", + "name": "MdInputChip", + "declaration": { + "name": "MdInputChip", + "package": "@material/web", + "module": "chips/input-chip.js" + } + }, + { + "kind": "js", + "name": "MdSuggestionChip", + "declaration": { + "name": "MdSuggestionChip", + "package": "@material/web", + "module": "chips/suggestion-chip.js" + } + }, + { + "kind": "js", + "name": "MdDialog", + "declaration": { + "name": "MdDialog", + "package": "@material/web", + "module": "dialog/dialog.js" + } + }, + { + "kind": "js", + "name": "MdDivider", + "declaration": { + "name": "MdDivider", + "package": "@material/web", + "module": "divider/divider.js" + } + }, + { + "kind": "js", + "name": "MdElevation", + "declaration": { + "name": "MdElevation", + "package": "@material/web", + "module": "elevation/elevation.js" + } + }, + { + "kind": "js", + "name": "FabSize", + "declaration": { + "name": "FabSize", + "package": "@material/web", + "module": "fab/fab.js" + } + }, + { + "kind": "js", + "name": "MdBrandedFab", + "declaration": { + "name": "MdBrandedFab", + "package": "@material/web", + "module": "fab/branded-fab.js" + } + }, + { + "kind": "js", + "name": "FabVariant", + "declaration": { + "name": "FabVariant", + "package": "@material/web", + "module": "fab/fab.js" + } + }, + { + "kind": "js", + "name": "MdFab", + "declaration": { + "name": "MdFab", + "package": "@material/web", + "module": "fab/fab.js" + } + }, + { + "kind": "js", + "name": "MdFilledField", + "declaration": { + "name": "MdFilledField", + "package": "@material/web", + "module": "field/filled-field.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedField", + "declaration": { + "name": "MdOutlinedField", + "package": "@material/web", + "module": "field/outlined-field.js" + } + }, + { + "kind": "js", + "name": "MdFocusRing", + "declaration": { + "name": "MdFocusRing", + "package": "@material/web", + "module": "focus/md-focus-ring.js" + } + }, + { + "kind": "js", + "name": "MdIcon", + "declaration": { + "name": "MdIcon", + "package": "@material/web", + "module": "icon/icon.js" + } + }, + { + "kind": "js", + "name": "MdFilledIconButton", + "declaration": { + "name": "MdFilledIconButton", + "package": "@material/web", + "module": "iconbutton/filled-icon-button.js" + } + }, + { + "kind": "js", + "name": "MdFilledTonalIconButton", + "declaration": { + "name": "MdFilledTonalIconButton", + "package": "@material/web", + "module": "iconbutton/filled-tonal-icon-button.js" + } + }, + { + "kind": "js", + "name": "MdIconButton", + "declaration": { + "name": "MdIconButton", + "package": "@material/web", + "module": "iconbutton/icon-button.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedIconButton", + "declaration": { + "name": "MdOutlinedIconButton", + "package": "@material/web", + "module": "iconbutton/outlined-icon-button.js" + } + }, + { + "kind": "js", + "name": "MdList", + "declaration": { + "name": "MdList", + "package": "@material/web", + "module": "list/list.js" + } + }, + { + "kind": "js", + "name": "ListItemType", + "declaration": { + "name": "ListItemType", + "package": "@material/web", + "module": "list/list-item.js" + } + }, + { + "kind": "js", + "name": "MdListItem", + "declaration": { + "name": "MdListItem", + "package": "@material/web", + "module": "list/list-item.js" + } + }, + { + "kind": "js", + "name": "ListItem", + "declaration": { + "name": "ListItem", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "MenuItem", + "declaration": { + "name": "MenuItem", + "package": "@material/web", + "module": "menu/menu-item.js" + } + }, + { + "kind": "js", + "name": "CloseReason", + "declaration": { + "name": "CloseReason", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "FocusState", + "declaration": { + "name": "FocusState", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "CloseMenuEvent", + "declaration": { + "name": "CloseMenuEvent", + "package": "@material/web", + "module": "menu/menu-item.js" + } + }, + { + "kind": "js", + "name": "Menu", + "declaration": { + "name": "Menu", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "Corner", + "declaration": { + "name": "Corner", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "MdMenu", + "declaration": { + "name": "MdMenu", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "MdMenuItem", + "declaration": { + "name": "MdMenuItem", + "package": "@material/web", + "module": "menu/menu-item.js" + } + }, + { + "kind": "js", + "name": "MdSubMenu", + "declaration": { + "name": "MdSubMenu", + "package": "@material/web", + "module": "menu/sub-menu.js" + } + }, + { + "kind": "js", + "name": "MdCircularProgress", + "declaration": { + "name": "MdCircularProgress", + "package": "@material/web", + "module": "progress/circular-progress.js" + } + }, + { + "kind": "js", + "name": "MdLinearProgress", + "declaration": { + "name": "MdLinearProgress", + "package": "@material/web", + "module": "progress/linear-progress.js" + } + }, + { + "kind": "js", + "name": "MdRadio", + "declaration": { + "name": "MdRadio", + "package": "@material/web", + "module": "radio/radio.js" + } + }, + { + "kind": "js", + "name": "MdRipple", + "declaration": { + "name": "MdRipple", + "package": "@material/web", + "module": "ripple/ripple.js" + } + }, + { + "kind": "js", + "name": "MdFilledSelect", + "declaration": { + "name": "MdFilledSelect", + "package": "@material/web", + "module": "select/filled-select.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedSelect", + "declaration": { + "name": "MdOutlinedSelect", + "package": "@material/web", + "module": "select/outlined-select.js" + } + }, + { + "kind": "js", + "name": "SelectOption", + "declaration": { + "name": "SelectOption", + "package": "@material/web", + "module": "select/select-option.js" + } + }, + { + "kind": "js", + "name": "MdSelectOption", + "declaration": { + "name": "MdSelectOption", + "package": "@material/web", + "module": "select/select-option.js" + } + }, + { + "kind": "js", + "name": "MdSlider", + "declaration": { + "name": "MdSlider", + "package": "@material/web", + "module": "slider/slider.js" + } + }, + { + "kind": "js", + "name": "MdSwitch", + "declaration": { + "name": "MdSwitch", + "package": "@material/web", + "module": "switch/switch.js" + } + }, + { + "kind": "js", + "name": "MdPrimaryTab", + "declaration": { + "name": "MdPrimaryTab", + "package": "@material/web", + "module": "tabs/primary-tab.js" + } + }, + { + "kind": "js", + "name": "MdSecondaryTab", + "declaration": { + "name": "MdSecondaryTab", + "package": "@material/web", + "module": "tabs/secondary-tab.js" + } + }, + { + "kind": "js", + "name": "MdTabs", + "declaration": { + "name": "MdTabs", + "package": "@material/web", + "module": "tabs/tabs.js" + } + }, + { + "kind": "js", + "name": "TextFieldType", + "declaration": { + "name": "TextFieldType", + "package": "@material/web", + "module": "textfield/outlined-text-field.js" + } + }, + { + "kind": "js", + "name": "MdFilledTextField", + "declaration": { + "name": "MdFilledTextField", + "package": "@material/web", + "module": "textfield/filled-text-field.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedTextField", + "declaration": { + "name": "MdOutlinedTextField", + "package": "@material/web", + "module": "textfield/outlined-text-field.js" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "common.js", + "exports": [ + { + "kind": "js", + "name": "MdFilledButton", + "declaration": { + "name": "MdFilledButton", + "package": "@material/web", + "module": "button/filled-button.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedButton", + "declaration": { + "name": "MdOutlinedButton", + "package": "@material/web", + "module": "button/outlined-button.js" + } + }, + { + "kind": "js", + "name": "MdTextButton", + "declaration": { + "name": "MdTextButton", + "package": "@material/web", + "module": "button/text-button.js" + } + }, + { + "kind": "js", + "name": "MdCheckbox", + "declaration": { + "name": "MdCheckbox", + "package": "@material/web", + "module": "checkbox/checkbox.js" + } + }, + { + "kind": "js", + "name": "MdAssistChip", + "declaration": { + "name": "MdAssistChip", + "package": "@material/web", + "module": "chips/assist-chip.js" + } + }, + { + "kind": "js", + "name": "MdChipSet", + "declaration": { + "name": "MdChipSet", + "package": "@material/web", + "module": "chips/chip-set.js" + } + }, + { + "kind": "js", + "name": "MdFilterChip", + "declaration": { + "name": "MdFilterChip", + "package": "@material/web", + "module": "chips/filter-chip.js" + } + }, + { + "kind": "js", + "name": "MdDialog", + "declaration": { + "name": "MdDialog", + "package": "@material/web", + "module": "dialog/dialog.js" + } + }, + { + "kind": "js", + "name": "MdIcon", + "declaration": { + "name": "MdIcon", + "package": "@material/web", + "module": "icon/icon.js" + } + }, + { + "kind": "js", + "name": "MdIconButton", + "declaration": { + "name": "MdIconButton", + "package": "@material/web", + "module": "iconbutton/icon-button.js" + } + }, + { + "kind": "js", + "name": "MdList", + "declaration": { + "name": "MdList", + "package": "@material/web", + "module": "list/list.js" + } + }, + { + "kind": "js", + "name": "ListItemType", + "declaration": { + "name": "ListItemType", + "package": "@material/web", + "module": "list/list-item.js" + } + }, + { + "kind": "js", + "name": "MdListItem", + "declaration": { + "name": "MdListItem", + "package": "@material/web", + "module": "list/list-item.js" + } + }, + { + "kind": "js", + "name": "ListItem", + "declaration": { + "name": "ListItem", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "MenuItem", + "declaration": { + "name": "MenuItem", + "package": "@material/web", + "module": "menu/menu-item.js" + } + }, + { + "kind": "js", + "name": "CloseReason", + "declaration": { + "name": "CloseReason", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "FocusState", + "declaration": { + "name": "FocusState", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "CloseMenuEvent", + "declaration": { + "name": "CloseMenuEvent", + "package": "@material/web", + "module": "menu/menu-item.js" + } + }, + { + "kind": "js", + "name": "Menu", + "declaration": { + "name": "Menu", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "Corner", + "declaration": { + "name": "Corner", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "MdMenu", + "declaration": { + "name": "MdMenu", + "package": "@material/web", + "module": "menu/menu.js" + } + }, + { + "kind": "js", + "name": "MdMenuItem", + "declaration": { + "name": "MdMenuItem", + "package": "@material/web", + "module": "menu/menu-item.js" + } + }, + { + "kind": "js", + "name": "MdSubMenu", + "declaration": { + "name": "MdSubMenu", + "package": "@material/web", + "module": "menu/sub-menu.js" + } + }, + { + "kind": "js", + "name": "MdCircularProgress", + "declaration": { + "name": "MdCircularProgress", + "package": "@material/web", + "module": "progress/circular-progress.js" + } + }, + { + "kind": "js", + "name": "MdLinearProgress", + "declaration": { + "name": "MdLinearProgress", + "package": "@material/web", + "module": "progress/linear-progress.js" + } + }, + { + "kind": "js", + "name": "MdRadio", + "declaration": { + "name": "MdRadio", + "package": "@material/web", + "module": "radio/radio.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedSelect", + "declaration": { + "name": "MdOutlinedSelect", + "package": "@material/web", + "module": "select/outlined-select.js" + } + }, + { + "kind": "js", + "name": "SelectOption", + "declaration": { + "name": "SelectOption", + "package": "@material/web", + "module": "select/select-option.js" + } + }, + { + "kind": "js", + "name": "MdSelectOption", + "declaration": { + "name": "MdSelectOption", + "package": "@material/web", + "module": "select/select-option.js" + } + }, + { + "kind": "js", + "name": "MdPrimaryTab", + "declaration": { + "name": "MdPrimaryTab", + "package": "@material/web", + "module": "tabs/primary-tab.js" + } + }, + { + "kind": "js", + "name": "MdTabs", + "declaration": { + "name": "MdTabs", + "package": "@material/web", + "module": "tabs/tabs.js" + } + }, + { + "kind": "js", + "name": "TextFieldType", + "declaration": { + "name": "TextFieldType", + "package": "@material/web", + "module": "textfield/outlined-text-field.js" + } + }, + { + "kind": "js", + "name": "MdOutlinedTextField", + "declaration": { + "name": "MdOutlinedTextField", + "package": "@material/web", + "module": "textfield/outlined-text-field.js" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/elevated-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdElevatedButton", + "description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Elevated buttons are essentially filled buttons with a lighter\nbackground color and a shadow. To prevent shadow creep, only use them when\nabsolutely necessary, such as when the button requires visual separation from\na patterned background.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash", + "summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", + "superclass": { + "name": "ElevatedButton", + "package": "@material/web", + "module": "button/internal/elevated-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[\n sharedStyles,\n sharedElevationStyles,\n elevatedStyles,\n ]" + }, + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "ElevatedButton" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "tagName": "md-elevated-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdElevatedButton", + "declaration": { + "name": "MdElevatedButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-elevated-button", + "declaration": { + "name": "MdElevatedButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/elevated-button_test.js" + }, + { + "kind": "javascript-module", + "path": "button/filled-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdFilledButton", + "description": "__Emphasis:__ High emphasis – For the primary, most important, or most common\naction on a screen\n\n__Rationale:__ The filled button’s contrasting surface color makes it the\nmost prominent button after the FAB. It’s used for final or unblocking\nactions in a flow.\n\n__Example usages:__\n- Save\n- Confirm\n- Done", + "summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", + "superclass": { + "name": "FilledButton", + "package": "@material/web", + "module": "button/internal/filled-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[\n sharedStyles,\n sharedElevationStyles,\n filledStyles,\n ]" + }, + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilledButton" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "tagName": "md-filled-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdFilledButton", + "declaration": { + "name": "MdFilledButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-filled-button", + "declaration": { + "name": "MdFilledButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/filled-button_test.js" + }, + { + "kind": "javascript-module", + "path": "button/filled-tonal-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdFilledTonalButton", + "description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Filled tonal buttons have a lighter background color and\ndarker label color, making them less visually prominent than a regular,\nfilled button. They’re still used for final or unblocking actions in a flow,\nbut do so with less emphasis.\n\n__Example usages:__\n- Save\n- Confirm\n- Done", + "summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", + "superclass": { + "name": "FilledTonalButton", + "package": "@material/web", + "module": "button/internal/filled-tonal-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[\n sharedStyles,\n sharedElevationStyles,\n tonalStyles,\n ]" + }, + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilledTonalButton" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "tagName": "md-filled-tonal-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdFilledTonalButton", + "declaration": { + "name": "MdFilledTonalButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-filled-tonal-button", + "declaration": { + "name": "MdFilledTonalButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/filled-tonal-button_test.js" + }, + { + "kind": "javascript-module", + "path": "button/outlined-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdOutlinedButton", + "description": "__Emphasis:__ Medium emphasis – For important actions that don’t distract\nfrom other onscreen elements.\n\n__Rationale:__ Use an outlined button for actions that need attention but\naren’t the primary action, such as “See all” or “Add to cart.” This is also\nthe button to use for giving someone the opportunity to change their mind or\nescape a flow.\n\n__Example usages:__\n- Reply\n- View all\n- Add to cart\n- Take out of trash", + "summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", + "superclass": { + "name": "OutlinedButton", + "package": "@material/web", + "module": "button/internal/outlined-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, outlinedStyles]" + }, + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "OutlinedButton" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "tagName": "md-outlined-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdOutlinedButton", + "declaration": { + "name": "MdOutlinedButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-outlined-button", + "declaration": { + "name": "MdOutlinedButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/outlined-button_test.js" + }, + { + "kind": "javascript-module", + "path": "button/text-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdTextButton", + "description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence\n\n__Rationale:__ Text buttons have less visual prominence, so should be used\nfor low emphasis actions, such as an alternative option.\n\n__Example usages:__\n- Learn more\n- View all\n- Change account\n- Turn on", + "summary": "Buttons help people take action, such as sending an email, sharing a\ndocument, or liking a comment.", + "superclass": { + "name": "TextButton", + "package": "@material/web", + "module": "button/internal/text-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, textStyles]" + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "tagName": "md-text-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdTextButton", + "declaration": { + "name": "MdTextButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-text-button", + "declaration": { + "name": "MdTextButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/text-button_test.js" + }, + { + "kind": "javascript-module", + "path": "button/internal/button.js", + "declarations": [ + { + "kind": "class", + "name": "buttonBaseClass", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "mixins": [ + { + "name": "mixinDelegatesAria", + "package": "@material/web", + "module": "internal/aria/delegate.js" + }, + { + "name": "mixinElementInternals", + "package": "@material/web", + "module": "labs/behaviors/element-internals.js" + } + ] + }, + { + "kind": "class", + "name": "Button", + "description": "A button component.", + "superclass": { + "name": "buttonBaseClass", + "package": "@material/web", + "module": "button/internal/button.js" + }, + "members": [ + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'" + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "buttonElement", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "assignedIcons", + "privacy": "private", + "type": { + "text": "HTMLElement[]", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true" + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }" + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderButton", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderLink", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderContent", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleClick", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "MouseEvent", + "references": [ + { + "name": "MouseEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleSlotChange", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled" + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled" + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href" + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download" + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target" + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon" + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon" + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type" + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Button", + "declaration": { + "name": "Button" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/button_test.js", + "declarations": [ + { + "kind": "class", + "name": "TestButton", + "superclass": { + "name": "Button", + "package": "@material/web", + "module": "button/internal/button.js" + }, + "tagName": "test-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ], + "members": [ + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "custom-element-definition", + "name": "test-button", + "declaration": { + "name": "TestButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/elevated-button.js", + "declarations": [ + { + "kind": "class", + "name": "ElevatedButton", + "description": "An elevated button component.", + "superclass": { + "name": "Button", + "package": "@material/web", + "module": "button/internal/button.js" + }, + "members": [ + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "ElevatedButton", + "declaration": { + "name": "ElevatedButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/elevated-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/filled-button.js", + "declarations": [ + { + "kind": "class", + "name": "FilledButton", + "description": "A filled button component.", + "superclass": { + "name": "Button", + "package": "@material/web", + "module": "button/internal/button.js" + }, + "members": [ + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FilledButton", + "declaration": { + "name": "FilledButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/filled-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/filled-tonal-button.js", + "declarations": [ + { + "kind": "class", + "name": "FilledTonalButton", + "description": "A filled tonal button component.", + "superclass": { + "name": "Button", + "package": "@material/web", + "module": "button/internal/button.js" + }, + "members": [ + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FilledTonalButton", + "declaration": { + "name": "FilledTonalButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/filled-tonal-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/outlined-button.js", + "declarations": [ + { + "kind": "class", + "name": "OutlinedButton", + "description": "An outlined button component.", + "superclass": { + "name": "Button", + "package": "@material/web", + "module": "button/internal/button.js" + }, + "members": [ + { + "kind": "method", + "name": "renderElevationOrOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "OutlinedButton", + "declaration": { + "name": "OutlinedButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/outlined-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/shared-elevation-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/shared-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/text-button.js", + "declarations": [ + { + "kind": "class", + "name": "TextButton", + "description": "A text button component.", + "superclass": { + "name": "Button", + "package": "@material/web", + "module": "button/internal/button.js" + }, + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is disabled.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "The URL that the link button points to.", + "fieldName": "href", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "fieldName": "target", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "trailing-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "fieldName": "trailingIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Whether to display the icon or not.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "Button" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "Button" + } + } + ], + "members": [ + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the button is disabled.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the button is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "href", + "description": "The URL that the link button points to.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "target", + "description": "Where to display the linked `href` URL for a link button. Common options\ninclude `_blank` to open in a new tab.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "trailingIcon", + "description": "Whether to render the icon at the inline end of the label rather than the\ninline start.\n\n_Note:_ Link buttons cannot have trailing icons.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Whether to display the icon or not.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "blur", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Button" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Button" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "TextButton", + "declaration": { + "name": "TextButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "button/internal/text-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "checkbox/checkbox.js", + "declarations": [ + { + "kind": "class", + "name": "MdCheckbox", + "description": "Use checkboxes to:\n- Select one or more options from a list\n- Present a list containing sub-selections\n- Turn an item on or off in a desktop environment", + "summary": "Checkboxes allow users to select one or more items from a set.\nCheckboxes can turn an option on or off.", + "superclass": { + "name": "Checkbox", + "package": "@material/web", + "module": "checkbox/internal/checkbox.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[styles]" + }, + { + "kind": "field", + "name": "checked", + "description": "Whether or not the checkbox is selected.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "field", + "name": "indeterminate", + "description": "Whether or not the checkbox is indeterminate.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "field", + "name": "required", + "description": "When true, require the checkbox to be selected when participating in\nform submission.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#validation", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value of the checkbox that is submitted with a form when selected.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'on'", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Checkbox", + "package": "@material/web", + "module": "checkbox/internal/checkbox.js", + "start": 17, + "end": 25 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "[getFormValue]", + "privacy": "public", + "return": { + "type": { + "text": "string" + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "[getFormState]", + "privacy": "public", + "return": { + "type": { + "text": "string" + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "formResetCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "formStateRestoreCallback", + "privacy": "public", + "parameters": [ + { + "name": "state", + "type": { + "text": "string" + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "[createValidator]", + "privacy": "public", + "return": { + "type": { + "text": "CheckboxValidator", + "references": [ + { + "name": "CheckboxValidator", + "package": "@material/web", + "module": "labs/behaviors/validators/checkbox-validator.js", + "start": 0, + "end": 17 + } + ] + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "kind": "method", + "name": "[getValidityAnchor]", + "privacy": "public", + "return": { + "type": { + "text": "HTMLInputElement", + "references": [ + { + "name": "HTMLInputElement", + "package": "global:", + "start": 0, + "end": 16 + } + ] + } + }, + "inheritedFrom": { + "name": "Checkbox" + } + } + ], + "tagName": "md-checkbox", + "customElement": true, + "attributes": [ + { + "name": "checked", + "type": { + "text": "boolean" + }, + "description": "Whether or not the checkbox is selected.", + "fieldName": "checked", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "name": "indeterminate", + "type": { + "text": "boolean" + }, + "description": "Whether or not the checkbox is indeterminate.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes", + "fieldName": "indeterminate", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "description": "When true, require the checkbox to be selected when participating in\nform submission.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#validation", + "fieldName": "required", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value of the checkbox that is submitted with a form when selected.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value", + "fieldName": "value", + "inheritedFrom": { + "name": "Checkbox" + } + } + ], + "events": [ + { + "name": "change", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "The native `change` event on\n[``](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event)\n--bubbles", + "inheritedFrom": { + "name": "Checkbox" + } + }, + { + "name": "input", + "type": { + "text": "InputEvent", + "references": [ + { + "name": "InputEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + }, + "description": "The native `input` event on\n[``](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event)\n--bubbles --composed", + "inheritedFrom": { + "name": "Checkbox" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdCheckbox", + "declaration": { + "name": "MdCheckbox" + } + }, + { + "kind": "custom-element-definition", + "name": "md-checkbox", + "declaration": { + "name": "MdCheckbox" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "checkbox/checkbox_test.js" + }, + { + "kind": "javascript-module", + "path": "checkbox/internal/checkbox-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "checkbox/internal/checkbox.js", + "declarations": [ + { + "kind": "class", + "name": "checkboxBaseClass", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "mixins": [ + { + "name": "mixinDelegatesAria", + "package": "@material/web", + "module": "internal/aria/delegate.js" + }, + { + "name": "mixinConstraintValidation", + "package": "@material/web", + "module": "labs/behaviors/constraint-validation.js" + }, + { + "name": "mixinFormAssociated", + "package": "@material/web", + "module": "labs/behaviors/form-associated.js" + }, + { + "name": "mixinElementInternals", + "package": "@material/web", + "module": "labs/behaviors/element-internals.js" + } + ] + }, + { + "kind": "class", + "name": "Checkbox", + "description": "A checkbox component.", + "superclass": { + "name": "checkboxBaseClass", + "package": "@material/web", + "module": "checkbox/internal/checkbox.js" + }, + "members": [ + { + "kind": "field", + "name": "checked", + "description": "Whether or not the checkbox is selected.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "indeterminate", + "description": "Whether or not the checkbox is indeterminate.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "required", + "description": "When true, require the checkbox to be selected when participating in\nform submission.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#validation", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "value", + "description": "The value of the checkbox that is submitted with a form when selected.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'on'" + }, + { + "kind": "field", + "name": "prevChecked", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "prevDisabled", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "prevIndeterminate", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "input", + "privacy": "private", + "type": { + "text": "HTMLInputElement", + "references": [ + { + "name": "HTMLInputElement", + "package": "global:", + "start": 0, + "end": 16 + } + ] + } + }, + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }" + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Checkbox", + "package": "@material/web", + "module": "checkbox/internal/checkbox.js", + "start": 17, + "end": 25 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleInput", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleChange", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "[getFormValue]", + "privacy": "public", + "return": { + "type": { + "text": "string" + } + } + }, + { + "kind": "method", + "name": "[getFormState]", + "privacy": "public", + "return": { + "type": { + "text": "string" + } + } + }, + { + "kind": "method", + "name": "formResetCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "formStateRestoreCallback", + "privacy": "public", + "parameters": [ + { + "name": "state", + "type": { + "text": "string" + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "[createValidator]", + "privacy": "public", + "return": { + "type": { + "text": "CheckboxValidator", + "references": [ + { + "name": "CheckboxValidator", + "package": "@material/web", + "module": "labs/behaviors/validators/checkbox-validator.js", + "start": 0, + "end": 17 + } + ] + } + } + }, + { + "kind": "method", + "name": "[getValidityAnchor]", + "privacy": "public", + "return": { + "type": { + "text": "HTMLInputElement", + "references": [ + { + "name": "HTMLInputElement", + "package": "global:", + "start": 0, + "end": 16 + } + ] + } + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "checked", + "type": { + "text": "boolean" + }, + "description": "Whether or not the checkbox is selected.", + "fieldName": "checked" + }, + { + "name": "indeterminate", + "type": { + "text": "boolean" + }, + "description": "Whether or not the checkbox is indeterminate.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes", + "fieldName": "indeterminate" + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "description": "When true, require the checkbox to be selected when participating in\nform submission.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#validation", + "fieldName": "required" + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value of the checkbox that is submitted with a form when selected.\n\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#value", + "fieldName": "value" + } + ], + "events": [ + { + "name": "change", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "The native `change` event on\n[``](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event)\n--bubbles" + }, + { + "name": "input", + "type": { + "text": "InputEvent", + "references": [ + { + "name": "InputEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + }, + "description": "The native `input` event on\n[``](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event)\n--bubbles --composed" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Checkbox", + "declaration": { + "name": "Checkbox" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "checkbox/internal/checkbox_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/assist-chip.js", + "declarations": [ + { + "kind": "class", + "name": "MdAssistChip", + "description": "TODO(b/243982145): add docs", + "superclass": { + "name": "AssistChip", + "package": "@material/web", + "module": "chips/internal/assist-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, elevatedStyles, styles]" + }, + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ disabled: boolean; elevated: boolean; link: boolean; }" + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "tagName": "md-assist-chip", + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdAssistChip", + "declaration": { + "name": "MdAssistChip" + } + }, + { + "kind": "custom-element-definition", + "name": "md-assist-chip", + "declaration": { + "name": "MdAssistChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/assist-chip_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/chip-set.js", + "declarations": [ + { + "kind": "class", + "name": "MdChipSet", + "description": "TODO(b/243982145): add docs", + "superclass": { + "name": "ChipSet", + "package": "@material/web", + "module": "chips/internal/chip-set.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[styles]" + }, + { + "kind": "field", + "name": "chips", + "privacy": "public", + "type": { + "text": "Chip[]", + "references": [ + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 0, + "end": 4 + } + ] + }, + "inheritedFrom": { + "name": "ChipSet" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "ChipSet" + } + } + ], + "tagName": "md-chip-set", + "customElement": true + } + ], + "exports": [ + { + "kind": "js", + "name": "MdChipSet", + "declaration": { + "name": "MdChipSet" + } + }, + { + "kind": "custom-element-definition", + "name": "md-chip-set", + "declaration": { + "name": "MdChipSet" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/filter-chip.js", + "declarations": [ + { + "kind": "class", + "name": "MdFilterChip", + "description": "TODO(b/243982145): add docs", + "superclass": { + "name": "FilterChip", + "package": "@material/web", + "module": "chips/internal/filter-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[\n sharedStyles,\n elevatedStyles,\n trailingIconStyles,\n selectableStyles,\n styles,\n ]" + }, + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "removable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "selected", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "hasSelectedIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a filter chip has a `slot=\"selected-icon\"` to avoid\na Flash Of Unstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "primaryAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ elevated: boolean; selected: boolean; 'has-trailing': boolean; 'has-icon': boolean; }" + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderTrailingAction", + "privacy": "protected", + "parameters": [ + { + "name": "focusListener", + "type": { + "text": "EventListener", + "references": [ + { + "name": "EventListener", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1> | unique symbol", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "tagName": "md-filter-chip", + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "removable", + "type": { + "text": "boolean" + }, + "fieldName": "removable", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "fieldName": "selected", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "has-selected-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a filter chip has a `slot=\"selected-icon\"` to avoid\na Flash Of Unstyled Content.", + "fieldName": "hasSelectedIcon", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "remove", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the remove button is clicked.", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdFilterChip", + "declaration": { + "name": "MdFilterChip" + } + }, + { + "kind": "custom-element-definition", + "name": "md-filter-chip", + "declaration": { + "name": "MdFilterChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/filter-chip_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/input-chip.js", + "declarations": [ + { + "kind": "class", + "name": "MdInputChip", + "description": "TODO(b/243982145): add docs", + "superclass": { + "name": "InputChip", + "package": "@material/web", + "module": "chips/internal/input-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[\n sharedStyles,\n trailingIconStyles,\n selectableStyles,\n styles,\n ]" + }, + { + "kind": "field", + "name": "avatar", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "removeOnly", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "selected", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "primaryAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ avatar: boolean; disabled: boolean; link: boolean; selected: boolean; 'has-trailing': boolean; }" + } + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "method", + "name": "renderTrailingAction", + "privacy": "protected", + "parameters": [ + { + "name": "focusListener", + "type": { + "text": "EventListener", + "references": [ + { + "name": "EventListener", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "tagName": "md-input-chip", + "customElement": true, + "attributes": [ + { + "name": "avatar", + "type": { + "text": "boolean" + }, + "fieldName": "avatar", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "remove-only", + "type": { + "text": "boolean" + }, + "fieldName": "removeOnly", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "fieldName": "selected", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "remove", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the remove button is clicked.", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdInputChip", + "declaration": { + "name": "MdInputChip" + } + }, + { + "kind": "custom-element-definition", + "name": "md-input-chip", + "declaration": { + "name": "MdInputChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/input-chip_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/suggestion-chip.js", + "declarations": [ + { + "kind": "class", + "name": "MdSuggestionChip", + "description": "TODO(b/243982145): add docs", + "superclass": { + "name": "SuggestionChip", + "package": "@material/web", + "module": "chips/internal/suggestion-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, elevatedStyles, styles]" + }, + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ disabled: boolean; elevated: boolean; link: boolean; }" + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "tagName": "md-suggestion-chip", + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdSuggestionChip", + "declaration": { + "name": "MdSuggestionChip" + } + }, + { + "kind": "custom-element-definition", + "name": "md-suggestion-chip", + "declaration": { + "name": "MdSuggestionChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/suggestion-chip_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/internal/assist-chip.js", + "declarations": [ + { + "kind": "class", + "name": "AssistChip", + "description": "An assist chip component.", + "superclass": { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js" + }, + "members": [ + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ disabled: boolean; elevated: boolean; link: boolean; }" + } + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated" + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href" + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "fieldName": "download" + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target" + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "AssistChip", + "declaration": { + "name": "AssistChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/assist-chip_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/internal/assist-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/chip-set-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/chip-set.js", + "declarations": [ + { + "kind": "class", + "name": "ChipSet", + "description": "A chip set component.", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "members": [ + { + "kind": "field", + "name": "childElements", + "privacy": "private", + "type": { + "text": "HTMLElement[]", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "internals", + "privacy": "private", + "type": { + "text": "ElementInternals", + "references": [ + { + "name": "ElementInternals", + "package": "global:", + "start": 0, + "end": 16 + } + ] + }, + "default": "(this as HTMLElement).attachInternals()" + }, + { + "kind": "field", + "name": "chips", + "privacy": "public", + "type": { + "text": "Chip[]", + "references": [ + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 0, + "end": 4 + } + ] + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleKeyDown", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "KeyboardEvent", + "references": [ + { + "name": "KeyboardEvent", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "updateTabIndices", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + } + ], + "customElement": true + } + ], + "exports": [ + { + "kind": "js", + "name": "ChipSet", + "declaration": { + "name": "ChipSet" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/chip-set_test.js", + "declarations": [ + { + "kind": "class", + "name": "TestChipSet", + "superclass": { + "name": "ChipSet", + "package": "@material/web", + "module": "chips/internal/chip-set.js" + }, + "tagName": "test-chip-set", + "customElement": true, + "members": [ + { + "kind": "field", + "name": "chips", + "privacy": "public", + "type": { + "text": "Chip[]", + "references": [ + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 0, + "end": 4 + } + ] + }, + "inheritedFrom": { + "name": "ChipSet" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "ChipSet" + } + } + ] + }, + { + "kind": "class", + "name": "TestAssistChip", + "superclass": { + "name": "AssistChip", + "package": "@material/web", + "module": "chips/internal/assist-chip.js" + }, + "tagName": "test-chip-set-assist-chip", + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "members": [ + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ disabled: boolean; elevated: boolean; link: boolean; }" + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ] + }, + { + "kind": "class", + "name": "TestInputChip", + "superclass": { + "name": "InputChip", + "package": "@material/web", + "module": "chips/internal/input-chip.js" + }, + "tagName": "test-chip-set-input-chip", + "customElement": true, + "attributes": [ + { + "name": "avatar", + "type": { + "text": "boolean" + }, + "fieldName": "avatar", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "remove-only", + "type": { + "text": "boolean" + }, + "fieldName": "removeOnly", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "fieldName": "selected", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "remove", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the remove button is clicked.", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "members": [ + { + "kind": "field", + "name": "avatar", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "removeOnly", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "selected", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "primaryAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ avatar: boolean; disabled: boolean; link: boolean; selected: boolean; 'has-trailing': boolean; }" + } + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "method", + "name": "renderTrailingAction", + "privacy": "protected", + "parameters": [ + { + "name": "focusListener", + "type": { + "text": "EventListener", + "references": [ + { + "name": "EventListener", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "InputChip" + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "custom-element-definition", + "name": "test-chip-set", + "declaration": { + "name": "TestChipSet" + } + }, + { + "kind": "custom-element-definition", + "name": "test-chip-set-assist-chip", + "declaration": { + "name": "TestAssistChip" + } + }, + { + "kind": "custom-element-definition", + "name": "test-chip-set-input-chip", + "declaration": { + "name": "TestInputChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/chip.js", + "declarations": [ + { + "kind": "class", + "name": "chipBaseClass", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "mixins": [ + { + "name": "mixinDelegatesAria", + "package": "@material/web", + "module": "internal/aria/delegate.js" + } + ] + }, + { + "kind": "class", + "name": "Chip", + "description": "A chip component.", + "superclass": { + "name": "chipBaseClass", + "package": "@material/web", + "module": "chips/internal/chip.js" + }, + "members": [ + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "primaryId", + "description": "The `id` of the action the primary focus ring and ripple are for.\nTODO(b/310046938): use the same id for both elements", + "privacy": "protected", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }" + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "ClassInfo", + "references": [ + { + "name": "ClassInfo", + "package": "lit", + "module": "directives/class-map.js", + "start": 0, + "end": 9 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderPrimaryContent", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleIconChange", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleClick", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled" + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled" + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable" + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label" + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon" + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Chip", + "declaration": { + "name": "Chip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/chip_test.js", + "declarations": [ + { + "kind": "class", + "name": "TestChip", + "superclass": { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js" + }, + "members": [ + { + "kind": "field", + "name": "primaryId", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'button'" + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "public", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "ClassInfo", + "references": [ + { + "name": "ClassInfo", + "package": "lit", + "module": "directives/class-map.js", + "start": 0, + "end": 9 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "tagName": "test-chip", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "custom-element-definition", + "name": "test-chip", + "declaration": { + "name": "TestChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/elevated-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/filter-chip.js", + "declarations": [ + { + "kind": "class", + "name": "FilterChip", + "description": "A filter chip component.", + "superclass": { + "name": "MultiActionChip", + "package": "@material/web", + "module": "chips/internal/multi-action-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "removable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "selected", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "hasSelectedIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a filter chip has a `slot=\"selected-icon\"` to avoid\na Flash Of Unstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "primaryAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ elevated: boolean; selected: boolean; 'has-trailing': boolean; 'has-icon': boolean; }" + } + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderTrailingAction", + "privacy": "protected", + "parameters": [ + { + "name": "focusListener", + "type": { + "text": "EventListener", + "references": [ + { + "name": "EventListener", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1> | unique symbol", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleClickOnChild", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "MouseEvent", + "references": [ + { + "name": "MouseEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated" + }, + { + "name": "removable", + "type": { + "text": "boolean" + }, + "fieldName": "removable" + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "fieldName": "selected" + }, + { + "name": "has-selected-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a filter chip has a `slot=\"selected-icon\"` to avoid\na Flash Of Unstyled Content.", + "fieldName": "hasSelectedIcon" + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "remove", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the remove button is clicked." + }, + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FilterChip", + "declaration": { + "name": "FilterChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/filter-chip_test.js", + "declarations": [ + { + "kind": "class", + "name": "TestFilterChip", + "superclass": { + "name": "FilterChip", + "package": "@material/web", + "module": "chips/internal/filter-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "primaryAction", + "privacy": "public", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "removable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "selected", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "hasSelectedIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a filter chip has a `slot=\"selected-icon\"` to avoid\na Flash Of Unstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ elevated: boolean; selected: boolean; 'has-trailing': boolean; 'has-icon': boolean; }" + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderTrailingAction", + "privacy": "protected", + "parameters": [ + { + "name": "focusListener", + "type": { + "text": "EventListener", + "references": [ + { + "name": "EventListener", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1> | unique symbol", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "tagName": "test-filter-chip", + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "removable", + "type": { + "text": "boolean" + }, + "fieldName": "removable", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "fieldName": "selected", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "has-selected-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a filter chip has a `slot=\"selected-icon\"` to avoid\na Flash Of Unstyled Content.", + "fieldName": "hasSelectedIcon", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "remove", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the remove button is clicked.", + "inheritedFrom": { + "name": "FilterChip" + } + }, + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "custom-element-definition", + "name": "test-filter-chip", + "declaration": { + "name": "TestFilterChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/filter-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/input-chip.js", + "declarations": [ + { + "kind": "class", + "name": "InputChip", + "description": "An input chip component.", + "superclass": { + "name": "MultiActionChip", + "package": "@material/web", + "module": "chips/internal/multi-action-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "avatar", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "removeOnly", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "selected", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + } + }, + { + "kind": "field", + "name": "primaryAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ avatar: boolean; disabled: boolean; link: boolean; selected: boolean; 'has-trailing': boolean; }" + } + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderTrailingAction", + "privacy": "protected", + "parameters": [ + { + "name": "focusListener", + "type": { + "text": "EventListener", + "references": [ + { + "name": "EventListener", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "avatar", + "type": { + "text": "boolean" + }, + "fieldName": "avatar" + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href" + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target" + }, + { + "name": "remove-only", + "type": { + "text": "boolean" + }, + "fieldName": "removeOnly" + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "fieldName": "selected" + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "remove", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the remove button is clicked." + }, + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "InputChip", + "declaration": { + "name": "InputChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/input-chip_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/internal/input-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/multi-action-chip.js", + "declarations": [ + { + "kind": "variable", + "name": "ARIA_LABEL_REMOVE", + "type": { + "text": "string" + } + }, + { + "kind": "class", + "name": "MultiActionChip", + "description": "A chip component with multiple actions.", + "superclass": { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js" + }, + "members": [ + { + "kind": "field", + "name": "primaryAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "protected", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleKeyDown", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "KeyboardEvent", + "references": [ + { + "name": "KeyboardEvent", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleTrailingActionFocus", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "primaryId", + "description": "The `id` of the action the primary focus ring and ripple are for.\nTODO(b/310046938): use the same id for both elements", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "ClassInfo", + "references": [ + { + "name": "ClassInfo", + "package": "lit", + "module": "directives/class-map.js", + "start": 0, + "end": 9 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MultiActionChip", + "declaration": { + "name": "MultiActionChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/multi-action-chip_test.js", + "declarations": [ + { + "kind": "class", + "name": "TestMultiActionChip", + "superclass": { + "name": "MultiActionChip", + "package": "@material/web", + "module": "chips/internal/multi-action-chip.js" + }, + "members": [ + { + "kind": "field", + "name": "primaryAction", + "privacy": "public", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "trailingAction", + "privacy": "public", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "noTrailingAction", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "default": "'primary'" + }, + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + }, + "default": "css`\n :host {\n position: relative;\n }\n `" + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderTrailingAction", + "privacy": "protected", + "parameters": [ + { + "name": "focusListener", + "type": { + "text": "EventListener", + "references": [ + { + "name": "EventListener", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1> | unique symbol", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "handleTrailingActionFocus", + "privacy": "public", + "type": { + "text": "() => void" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "ariaLabelRemove", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions & { trailing?: boolean; }", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "MultiActionChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "ClassInfo", + "references": [ + { + "name": "ClassInfo", + "package": "lit", + "module": "directives/class-map.js", + "start": 0, + "end": 9 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ], + "tagName": "test-multi-action-chip", + "customElement": true, + "attributes": [ + { + "name": "notrailingaction", + "type": { + "text": "boolean" + }, + "fieldName": "noTrailingAction" + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ] + }, + { + "kind": "function", + "name": "getSlotTextContent", + "description": "Returns the text content of a slot.", + "parameters": [ + { + "name": "slot", + "type": { + "text": "HTMLSlotElement", + "references": [ + { + "name": "HTMLSlotElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + } + } + ], + "return": { + "type": { + "text": "string" + } + } + }, + { + "kind": "function", + "name": "getA11yLabelForChipRemoveButton", + "description": "Returns the a11y label of the remove button. If the button has an aria-label,\nit will return that. If it has aria-labelledby, it will return the text\ncontent of the elements it is labelled by.", + "parameters": [ + { + "name": "chip", + "type": { + "text": "TestMultiActionChip", + "references": [ + { + "name": "TestMultiActionChip", + "package": "@material/web", + "module": "chips/internal/multi-action-chip_test.js", + "start": 0, + "end": 19 + } + ] + } + } + ], + "return": { + "type": { + "text": "string" + } + } + } + ], + "exports": [ + { + "kind": "custom-element-definition", + "name": "test-multi-action-chip", + "declaration": { + "name": "TestMultiActionChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/selectable-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/shared-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/suggestion-chip.js", + "declarations": [ + { + "kind": "class", + "name": "SuggestionChip", + "description": "A suggestion chip component.", + "superclass": { + "name": "AssistChip", + "package": "@material/web", + "module": "chips/internal/assist-chip.js" + }, + "customElement": true, + "attributes": [ + { + "name": "elevated", + "type": { + "text": "boolean" + }, + "fieldName": "elevated", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "fieldName": "href", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "fieldName": "target", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "always-focusable", + "type": { + "text": "boolean" + }, + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "alwaysFocusable", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "deprecated": "Set text as content of the chip instead.", + "description": "The label of the chip.", + "fieldName": "label", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "name": "has-icon", + "type": { + "text": "boolean" + }, + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "fieldName": "hasIcon", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "events": [ + { + "name": "update-focus", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when `disabled` is toggled. --bubbles", + "inheritedFrom": { + "name": "Chip" + } + } + ], + "members": [ + { + "kind": "field", + "name": "elevated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "href", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the chip is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "target", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "primaryId", + "privacy": "protected", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "rippleDisabled", + "privacy": "protected", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "getContainerClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ disabled: boolean; elevated: boolean; link: boolean; }" + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderPrimaryAction", + "privacy": "protected", + "parameters": [ + { + "name": "content", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "AssistChip" + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Whether or not the chip is disabled.\n\nDisabled chips are not focusable, unless `always-focusable` is set.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "Whether or not the chip is \"soft-disabled\" (disabled but still\nfocusable).\n\nUse this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "alwaysFocusable", + "description": "When true, allow disabled chips to be focused with arrow keys.\n\nAdd this when a chip needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "deprecated": "Use `softDisabled` instead of `alwaysFocusable` + `disabled`.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "label", + "description": "The label of the chip.", + "deprecated": "Set text as content of the chip instead.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "hasIcon", + "description": "Only needed for SSR.\n\nAdd this attribute when a chip has a `slot=\"icon\"` to avoid a Flash Of\nUnstyled Content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "{ delegatesFocus: boolean; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }", + "references": [ + { + "name": "ShadowRootMode", + "package": "global:", + "start": 33, + "end": 47 + }, + { + "name": "SlotAssignmentMode", + "package": "global:", + "start": 90, + "end": 108 + } + ] + }, + "default": "{\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "focus", + "privacy": "public", + "parameters": [ + { + "name": "options", + "type": { + "text": "FocusOptions", + "references": [ + { + "name": "FocusOptions", + "package": "global:", + "start": 0, + "end": 12 + } + ] + }, + "optional": true + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 17, + "end": 21 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderContainerContent", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + }, + { + "kind": "method", + "name": "renderLeadingIcon", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Chip" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "SuggestionChip", + "declaration": { + "name": "SuggestionChip" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/suggestion-chip_test.js" + }, + { + "kind": "javascript-module", + "path": "chips/internal/suggestion-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/trailing-icon-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "chips/internal/trailing-icons.js", + "declarations": [ + { + "kind": "function", + "name": "renderRemoveButton", + "parameters": [ + { + "name": "{\n ariaLabel,\n disabled,\n focusListener,\n tabbable = false,\n}", + "type": { + "text": "RemoveButtonProperties", + "references": [ + { + "name": "RemoveButtonProperties", + "package": "@material/web", + "module": "chips/internal/trailing-icons.js", + "start": 0, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "function", + "name": "handleRemoveClick", + "parameters": [ + { + "name": "this", + "type": { + "text": "Chip", + "references": [ + { + "name": "Chip", + "package": "@material/web", + "module": "chips/internal/chip.js", + "start": 0, + "end": 4 + } + ] + } + }, + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + } + ], + "exports": [ + { + "kind": "js", + "name": "renderRemoveButton", + "declaration": { + "name": "renderRemoveButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "dialog/dialog.js", + "declarations": [ + { + "kind": "class", + "name": "MdDialog", + "description": "A dialog is a modal window that appears in front of app content to provide\ncritical information or ask for a decision. Dialogs disable all app\nfunctionality when they appear, and remain on screen until confirmed,\ndismissed, or a required action has been taken.\n\nDialogs are purposefully interruptive, so they should be used sparingly.\nA less disruptive alternative is to use a menu, which provides options\nwithout interrupting a user’s experience.\n\nOn mobile devices only, complex dialogs should be displayed fullscreen.\n\n__Example usages:__\n- Common use cases for basic dialogs include alerts, quick selection, and\nconfirmation.\n- More complex dialogs may contain actions that require a series of tasks\nto complete. One example is creating a calendar entry with the event title,\ndate, location, and time.", + "summary": "Dialogs can require an action, communicate information, or help\nusers accomplish a task. There are two types of dialogs: basic and\nfull-screen.", + "superclass": { + "name": "Dialog", + "package": "@material/web", + "module": "dialog/internal/dialog.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[styles]" + }, + { + "kind": "field", + "name": "quick", + "description": "Skips the opening and closing animations.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "field", + "name": "returnValue", + "description": "Gets or sets the dialog's return value, usually to indicate which button\na user pressed to close it.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "field", + "name": "type", + "description": "The type of dialog for accessibility. Set this to `alert` to announce a\ndialog as an alert dialog.", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "field", + "name": "noFocusTrap", + "description": "Disables focus trapping, which by default keeps keyboard Tab navigation\nwithin the dialog.\n\nWhen disabled, after focusing the last element of a dialog, pressing Tab\nagain will release focus from the window back to the browser (such as the\nURL bar).\n\nFocus trapping is recommended for accessibility, and should not typically\nbe disabled. Only turn this off if the use case of a dialog is more\naccessible without focus trapping.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "field", + "name": "getOpenAnimation", + "description": "Gets the opening animation for a dialog. Set to a new function to customize\nthe animation.", + "privacy": "public", + "type": { + "text": "() => DialogAnimation", + "references": [ + { + "name": "DialogAnimation", + "package": "@material/web", + "module": "dialog/internal/animations.js", + "start": 6, + "end": 21 + } + ] + }, + "default": "() => DIALOG_DEFAULT_OPEN_ANIMATION", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "field", + "name": "getCloseAnimation", + "description": "Gets the closing animation for a dialog. Set to a new function to customize\nthe animation.", + "privacy": "public", + "type": { + "text": "() => DialogAnimation", + "references": [ + { + "name": "DialogAnimation", + "package": "@material/web", + "module": "dialog/internal/animations.js", + "start": 6, + "end": 21 + } + ] + }, + "default": "() => DIALOG_DEFAULT_CLOSE_ANIMATION", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "field", + "name": "open", + "privacy": "public", + "type": { + "text": "boolean" + }, + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "method", + "name": "show", + "description": "Opens the dialog and fires a cancelable `open` event. After a dialog's\nanimation, an `opened` event is fired.\n\nAdd an `autofocus` attribute to a child of the dialog that should\nreceive focus after opening.", + "privacy": "public", + "return": { + "type": { + "text": "Promise", + "references": [ + { + "name": "Promise", + "package": "global:", + "start": 0, + "end": 7 + } + ] + }, + "description": "A Promise that resolves after the animation is finished and the\n`opened` event was fired." + }, + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "method", + "name": "close", + "description": "Closes the dialog and fires a cancelable `close` event. After a dialog's\nanimation, a `closed` event is fired.", + "privacy": "public", + "parameters": [ + { + "name": "returnValue", + "description": "A return value usually indicating which button was used\nto close a dialog. If a dialog is canceled by clicking the scrim or\npressing Escape, it will not change the return value after closing.", + "type": { + "text": "string" + }, + "default": "this.returnValue", + "optional": true + } + ], + "return": { + "type": { + "text": "Promise", + "references": [ + { + "name": "Promise", + "package": "global:", + "start": 0, + "end": 7 + } + ] + }, + "description": "A Promise that resolves after the animation is finished and the\n`closed` event was fired." + }, + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "method", + "name": "disconnectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "kind": "method", + "name": "firstUpdated", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Dialog" + } + } + ], + "tagName": "md-dialog", + "customElement": true, + "attributes": [ + { + "name": "open", + "type": { + "text": "boolean" + }, + "description": "Opens the dialog when set to `true` and closes it when set to `false`.", + "fieldName": "open", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "quick", + "type": { + "text": "boolean" + }, + "description": "Skips the opening and closing animations.", + "fieldName": "quick", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "returnValue", + "type": { + "text": "string" + }, + "description": "Gets or sets the dialog's return value, usually to indicate which button\na user pressed to close it.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue", + "fieldName": "returnValue", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The type of dialog for accessibility. Set this to `alert` to announce a\ndialog as an alert dialog.", + "fieldName": "type", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "no-focus-trap", + "type": { + "text": "boolean" + }, + "description": "Disables focus trapping, which by default keeps keyboard Tab navigation\nwithin the dialog.\n\nWhen disabled, after focusing the last element of a dialog, pressing Tab\nagain will release focus from the window back to the browser (such as the\nURL bar).\n\nFocus trapping is recommended for accessibility, and should not typically\nbe disabled. Only turn this off if the use case of a dialog is more\naccessible without focus trapping.", + "fieldName": "noFocusTrap", + "inheritedFrom": { + "name": "Dialog" + } + } + ], + "events": [ + { + "name": "open", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog is opening before any animations.", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "opened", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog has opened after any animations.", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "close", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog is closing before any animations.", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "closed", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog has closed after any animations.", + "inheritedFrom": { + "name": "Dialog" + } + }, + { + "name": "cancel", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog has been canceled by clicking\non the scrim or pressing Escape.", + "inheritedFrom": { + "name": "Dialog" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdDialog", + "declaration": { + "name": "MdDialog" + } + }, + { + "kind": "custom-element-definition", + "name": "md-dialog", + "declaration": { + "name": "MdDialog" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "dialog/dialog_test.js", + "declarations": [ + { + "kind": "function", + "name": "disableDialogAnimations", + "parameters": [ + { + "name": "dialog", + "type": { + "text": "MdDialog", + "references": [ + { + "name": "MdDialog", + "package": "@material/web", + "module": "dialog/dialog.js", + "start": 0, + "end": 8 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + } + ] + }, + { + "kind": "javascript-module", + "path": "dialog/internal/animations.js", + "declarations": [ + { + "kind": "variable", + "name": "DIALOG_DEFAULT_OPEN_ANIMATION", + "description": "The default dialog open animation.", + "type": { + "text": "DialogAnimation", + "references": [ + { + "name": "DialogAnimation", + "package": "@material/web", + "module": "dialog/internal/animations.js", + "start": 0, + "end": 15 + } + ] + } + }, + { + "kind": "variable", + "name": "DIALOG_DEFAULT_CLOSE_ANIMATION", + "description": "The default dialog close animation.", + "type": { + "text": "DialogAnimation", + "references": [ + { + "name": "DialogAnimation", + "package": "@material/web", + "module": "dialog/internal/animations.js", + "start": 0, + "end": 15 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "DIALOG_DEFAULT_OPEN_ANIMATION", + "declaration": { + "name": "DIALOG_DEFAULT_OPEN_ANIMATION" + } + }, + { + "kind": "js", + "name": "DIALOG_DEFAULT_CLOSE_ANIMATION", + "declaration": { + "name": "DIALOG_DEFAULT_CLOSE_ANIMATION" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "dialog/internal/dialog-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "dialog/internal/dialog.js", + "declarations": [ + { + "kind": "class", + "name": "dialogBaseClass", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "mixins": [ + { + "name": "mixinDelegatesAria", + "package": "@material/web", + "module": "internal/aria/delegate.js" + } + ] + }, + { + "kind": "class", + "name": "Dialog", + "description": "A dialog component.", + "superclass": { + "name": "dialogBaseClass", + "package": "@material/web", + "module": "dialog/internal/dialog.js" + }, + "members": [ + { + "kind": "field", + "name": "quick", + "description": "Skips the opening and closing animations.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "returnValue", + "description": "Gets or sets the dialog's return value, usually to indicate which button\na user pressed to close it.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "type", + "description": "The type of dialog for accessibility. Set this to `alert` to announce a\ndialog as an alert dialog.", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "noFocusTrap", + "description": "Disables focus trapping, which by default keeps keyboard Tab navigation\nwithin the dialog.\n\nWhen disabled, after focusing the last element of a dialog, pressing Tab\nagain will release focus from the window back to the browser (such as the\nURL bar).\n\nFocus trapping is recommended for accessibility, and should not typically\nbe disabled. Only turn this off if the use case of a dialog is more\naccessible without focus trapping.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "getOpenAnimation", + "description": "Gets the opening animation for a dialog. Set to a new function to customize\nthe animation.", + "privacy": "public", + "type": { + "text": "() => DialogAnimation", + "references": [ + { + "name": "DialogAnimation", + "package": "@material/web", + "module": "dialog/internal/animations.js", + "start": 6, + "end": 21 + } + ] + }, + "default": "() => DIALOG_DEFAULT_OPEN_ANIMATION" + }, + { + "kind": "field", + "name": "getCloseAnimation", + "description": "Gets the closing animation for a dialog. Set to a new function to customize\nthe animation.", + "privacy": "public", + "type": { + "text": "() => DialogAnimation", + "references": [ + { + "name": "DialogAnimation", + "package": "@material/web", + "module": "dialog/internal/animations.js", + "start": 6, + "end": 21 + } + ] + }, + "default": "() => DIALOG_DEFAULT_CLOSE_ANIMATION" + }, + { + "kind": "field", + "name": "isOpen", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "isOpening", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "isConnectedPromiseResolve", + "privacy": "private", + "type": { + "text": "() => void" + } + }, + { + "kind": "field", + "name": "isConnectedPromise", + "privacy": "private", + "type": { + "text": "Promise", + "references": [ + { + "name": "Promise", + "package": "global:", + "start": 0, + "end": 7 + } + ] + }, + "default": "this.getIsConnectedPromise()" + }, + { + "kind": "field", + "name": "dialog", + "privacy": "private", + "type": { + "text": "HTMLDialogElement", + "references": [ + { + "name": "HTMLDialogElement", + "package": "global:", + "start": 0, + "end": 17 + } + ] + } + }, + { + "kind": "field", + "name": "scrim", + "privacy": "private", + "type": { + "text": "HTMLDialogElement", + "references": [ + { + "name": "HTMLDialogElement", + "package": "global:", + "start": 0, + "end": 17 + } + ] + } + }, + { + "kind": "field", + "name": "container", + "privacy": "private", + "type": { + "text": "HTMLDialogElement", + "references": [ + { + "name": "HTMLDialogElement", + "package": "global:", + "start": 0, + "end": 17 + } + ] + } + }, + { + "kind": "field", + "name": "headline", + "privacy": "private", + "type": { + "text": "HTMLDialogElement", + "references": [ + { + "name": "HTMLDialogElement", + "package": "global:", + "start": 0, + "end": 17 + } + ] + } + }, + { + "kind": "field", + "name": "content", + "privacy": "private", + "type": { + "text": "HTMLDialogElement", + "references": [ + { + "name": "HTMLDialogElement", + "package": "global:", + "start": 0, + "end": 17 + } + ] + } + }, + { + "kind": "field", + "name": "actions", + "privacy": "private", + "type": { + "text": "HTMLDialogElement", + "references": [ + { + "name": "HTMLDialogElement", + "package": "global:", + "start": 0, + "end": 17 + } + ] + } + }, + { + "kind": "field", + "name": "isAtScrollTop", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "isAtScrollBottom", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "scroller", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "topAnchor", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "bottomAnchor", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "firstFocusTrap", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "nextClickIsFromContent", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "intersectionObserver", + "privacy": "private", + "type": { + "text": "IntersectionObserver", + "references": [ + { + "name": "IntersectionObserver", + "package": "global:", + "start": 0, + "end": 20 + } + ] + } + }, + { + "kind": "field", + "name": "hasHeadline", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "hasActions", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "hasIcon", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "cancelAnimations", + "privacy": "private", + "type": { + "text": "AbortController", + "references": [ + { + "name": "AbortController", + "package": "global:", + "start": 0, + "end": 15 + } + ] + } + }, + { + "kind": "field", + "name": "escapePressedWithoutCancel", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "treewalker", + "privacy": "private", + "type": { + "text": "TreeWalker", + "references": [ + { + "name": "TreeWalker", + "package": "global:", + "start": 0, + "end": 10 + } + ] + }, + "default": "isServer\n ? null\n : document.createTreeWalker(this, NodeFilter.SHOW_ELEMENT)" + }, + { + "kind": "field", + "name": "open", + "privacy": "public", + "type": { + "text": "boolean" + } + }, + { + "kind": "method", + "name": "show", + "description": "Opens the dialog and fires a cancelable `open` event. After a dialog's\nanimation, an `opened` event is fired.\n\nAdd an `autofocus` attribute to a child of the dialog that should\nreceive focus after opening.", + "privacy": "public", + "return": { + "type": { + "text": "Promise", + "references": [ + { + "name": "Promise", + "package": "global:", + "start": 0, + "end": 7 + } + ] + }, + "description": "A Promise that resolves after the animation is finished and the\n`opened` event was fired." + } + }, + { + "kind": "method", + "name": "close", + "description": "Closes the dialog and fires a cancelable `close` event. After a dialog's\nanimation, a `closed` event is fired.", + "privacy": "public", + "parameters": [ + { + "name": "returnValue", + "description": "A return value usually indicating which button was used\nto close a dialog. If a dialog is canceled by clicking the scrim or\npressing Escape, it will not change the return value after closing.", + "type": { + "text": "string" + }, + "default": "this.returnValue", + "optional": true + } + ], + "return": { + "type": { + "text": "Promise", + "references": [ + { + "name": "Promise", + "package": "global:", + "start": 0, + "end": 7 + } + ] + }, + "description": "A Promise that resolves after the animation is finished and the\n`closed` event was fired." + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "disconnectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "firstUpdated", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleDialogClick", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleContentClick", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleSubmit", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "SubmitEvent", + "references": [ + { + "name": "SubmitEvent", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleCancel", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleClose", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleKeydown", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "KeyboardEvent", + "references": [ + { + "name": "KeyboardEvent", + "package": "global:", + "start": 0, + "end": 13 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "animateDialog", + "privacy": "private", + "parameters": [ + { + "name": "animation", + "type": { + "text": "DialogAnimation", + "references": [ + { + "name": "DialogAnimation", + "package": "@material/web", + "module": "dialog/internal/animations.js", + "start": 0, + "end": 15 + } + ] + } + } + ], + "return": { + "type": { + "text": "Promise", + "references": [ + { + "name": "Promise", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleHeadlineChange", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleActionsChange", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleIconChange", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleAnchorIntersection", + "privacy": "private", + "parameters": [ + { + "name": "entry", + "type": { + "text": "IntersectionObserverEntry", + "references": [ + { + "name": "IntersectionObserverEntry", + "package": "global:", + "start": 0, + "end": 25 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "getIsConnectedPromise", + "privacy": "private", + "return": { + "type": { + "text": "Promise", + "references": [ + { + "name": "Promise", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + } + }, + { + "kind": "method", + "name": "handleFocusTrapFocus", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "FocusEvent", + "references": [ + { + "name": "FocusEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "getFirstAndLastFocusableChildren", + "privacy": "private", + "return": { + "type": { + "text": "[HTMLElement, HTMLElement] | [null, null]", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 1, + "end": 12 + }, + { + "name": "HTMLElement", + "package": "global:", + "start": 14, + "end": 25 + } + ] + } + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "open", + "type": { + "text": "boolean" + }, + "description": "Opens the dialog when set to `true` and closes it when set to `false`.", + "fieldName": "open" + }, + { + "name": "quick", + "type": { + "text": "boolean" + }, + "description": "Skips the opening and closing animations.", + "fieldName": "quick" + }, + { + "name": "returnValue", + "type": { + "text": "string" + }, + "description": "Gets or sets the dialog's return value, usually to indicate which button\na user pressed to close it.\n\nhttps://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue", + "fieldName": "returnValue" + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The type of dialog for accessibility. Set this to `alert` to announce a\ndialog as an alert dialog.", + "fieldName": "type" + }, + { + "name": "no-focus-trap", + "type": { + "text": "boolean" + }, + "description": "Disables focus trapping, which by default keeps keyboard Tab navigation\nwithin the dialog.\n\nWhen disabled, after focusing the last element of a dialog, pressing Tab\nagain will release focus from the window back to the browser (such as the\nURL bar).\n\nFocus trapping is recommended for accessibility, and should not typically\nbe disabled. Only turn this off if the use case of a dialog is more\naccessible without focus trapping.", + "fieldName": "noFocusTrap" + } + ], + "events": [ + { + "name": "open", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog is opening before any animations." + }, + { + "name": "opened", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog has opened after any animations." + }, + { + "name": "close", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog is closing before any animations." + }, + { + "name": "closed", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog has closed after any animations." + }, + { + "name": "cancel", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when the dialog has been canceled by clicking\non the scrim or pressing Escape." + } + ] + }, + { + "kind": "function", + "name": "isFocusable", + "parameters": [ + { + "name": "element", + "type": { + "text": "Element", + "references": [ + { + "name": "Element", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + } + ], + "return": { + "type": { + "text": "boolean" + } + } + } + ], + "exports": [ + { + "kind": "js", + "name": "Dialog", + "declaration": { + "name": "Dialog" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "divider/divider.js", + "declarations": [ + { + "kind": "class", + "name": "MdDivider", + "description": "Dividers can reinforce tapability, such as when used to separate\nlist items or define tappable regions in an accordion.", + "summary": "A divider is a thin line that groups content in lists and\ncontainers.", + "superclass": { + "name": "Divider", + "package": "@material/web", + "module": "divider/internal/divider.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[styles]" + }, + { + "kind": "field", + "name": "inset", + "description": "Indents the divider with equal padding on both sides.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Divider" + } + }, + { + "kind": "field", + "name": "insetStart", + "description": "Indents the divider with padding on the leading side.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Divider" + } + }, + { + "kind": "field", + "name": "insetEnd", + "description": "Indents the divider with padding on the trailing side.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Divider" + } + } + ], + "tagName": "md-divider", + "customElement": true, + "attributes": [ + { + "name": "inset", + "type": { + "text": "boolean" + }, + "description": "Indents the divider with equal padding on both sides.", + "fieldName": "inset", + "inheritedFrom": { + "name": "Divider" + } + }, + { + "name": "inset-start", + "type": { + "text": "boolean" + }, + "description": "Indents the divider with padding on the leading side.", + "fieldName": "insetStart", + "inheritedFrom": { + "name": "Divider" + } + }, + { + "name": "inset-end", + "type": { + "text": "boolean" + }, + "description": "Indents the divider with padding on the trailing side.", + "fieldName": "insetEnd", + "inheritedFrom": { + "name": "Divider" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdDivider", + "declaration": { + "name": "MdDivider" + } + }, + { + "kind": "custom-element-definition", + "name": "md-divider", + "declaration": { + "name": "MdDivider" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "divider/divider_test.js" + }, + { + "kind": "javascript-module", + "path": "divider/internal/divider-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "divider/internal/divider.js", + "declarations": [ + { + "kind": "class", + "name": "Divider", + "description": "A divider component.", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "members": [ + { + "kind": "field", + "name": "inset", + "description": "Indents the divider with equal padding on both sides.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "insetStart", + "description": "Indents the divider with padding on the leading side.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "insetEnd", + "description": "Indents the divider with padding on the trailing side.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + } + ], + "customElement": true, + "attributes": [ + { + "name": "inset", + "type": { + "text": "boolean" + }, + "description": "Indents the divider with equal padding on both sides.", + "fieldName": "inset" + }, + { + "name": "inset-start", + "type": { + "text": "boolean" + }, + "description": "Indents the divider with padding on the leading side.", + "fieldName": "insetStart" + }, + { + "name": "inset-end", + "type": { + "text": "boolean" + }, + "description": "Indents the divider with padding on the trailing side.", + "fieldName": "insetEnd" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Divider", + "declaration": { + "name": "Divider" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "elevation/elevation.js", + "declarations": [ + { + "kind": "class", + "name": "MdElevation", + "description": "The `` custom element with default styles.\n\nElevation is the relative distance between two surfaces along the z-axis.", + "superclass": { + "name": "Elevation", + "package": "@material/web", + "module": "elevation/internal/elevation.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[styles]" + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Elevation" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Elevation" + } + } + ], + "tagName": "md-elevation", + "customElement": true + } + ], + "exports": [ + { + "kind": "js", + "name": "MdElevation", + "declaration": { + "name": "MdElevation" + } + }, + { + "kind": "custom-element-definition", + "name": "md-elevation", + "declaration": { + "name": "MdElevation" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "elevation/elevation_test.js" + }, + { + "kind": "javascript-module", + "path": "elevation/internal/elevation-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "elevation/internal/elevation.js", + "declarations": [ + { + "kind": "class", + "name": "Elevation", + "description": "A component for elevation.", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "members": [ + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + } + ], + "customElement": true + } + ], + "exports": [ + { + "kind": "js", + "name": "Elevation", + "declaration": { + "name": "Elevation" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/branded-fab.js", + "declarations": [ + { + "kind": "class", + "name": "MdBrandedFab", + "description": "__Emphasis:__ High emphasis – For the primary, most important, or most common\naction on a screen\n\n__Rationale:__ The FAB remains the default component for a screen’s primary\naction. It comes in three sizes: small FAB, FAB, and large FAB. The extended\nFAB’s wider format and text label give it more visual prominence than a FAB.\nIt’s often used on larger screens where a FAB would seem too small. Branded\nFABs are used to specifically call attention to branded logo icons.\n\n__Example usages:__\n- FAB\n - Create\n - Compose\n- Extended FAB\n - Create\n - Compose\n - New Thread\n - New File", + "summary": "Floating action buttons (FABs) help people take primary actions.\nThey’re used to represent the most important action on a screen, such as\nCreate or Reply.", + "superclass": { + "name": "Fab", + "package": "@material/web", + "module": "fab/internal/fab.js" + }, + "members": [ + { + "kind": "field", + "name": "variant", + "description": "Branded FABs have no variants", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[\n sharedStyles,\n styles,\n forcedColors,\n ]" + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "public", + "return": { + "type": { + "text": "{ primary: boolean; secondary: boolean; tertiary: boolean; small: boolean; lowered: boolean; large: boolean; extended: boolean; }" + } + } + }, + { + "kind": "field", + "name": "size", + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'medium'", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "label", + "description": "The text to display on the FAB.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "lowered", + "description": "Lowers the FAB's elevation.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open' as const,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "SharedFab" + } + } + ], + "tagName": "md-branded-fab", + "customElement": true, + "attributes": [ + { + "name": "variant", + "type": { + "text": "string" + }, + "description": "The FAB color variant to render.", + "fieldName": "variant", + "inheritedFrom": { + "name": "Fab" + } + }, + { + "name": "size", + "type": { + "text": "string" + }, + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "fieldName": "size", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "description": "The text to display on the FAB.", + "fieldName": "label", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "name": "lowered", + "type": { + "text": "boolean" + }, + "description": "Lowers the FAB's elevation.", + "fieldName": "lowered", + "inheritedFrom": { + "name": "SharedFab" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FabSize", + "declaration": { + "name": "FabSize", + "package": "@material/web", + "module": "fab/internal/shared.js" + } + }, + { + "kind": "js", + "name": "MdBrandedFab", + "declaration": { + "name": "MdBrandedFab" + } + }, + { + "kind": "custom-element-definition", + "name": "md-branded-fab", + "declaration": { + "name": "MdBrandedFab" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/fab.js", + "declarations": [ + { + "kind": "class", + "name": "MdFab", + "description": "__Emphasis:__ High emphasis – For the primary, most important, or most common\naction on a screen\n\n__Rationale:__ The FAB remains the default component for a screen’s primary\naction. It comes in three sizes: small FAB, FAB, and large FAB. The extended\nFAB’s wider format and text label give it more visual prominence than a FAB.\nIt’s often used on larger screens where a FAB would seem too small.\n\n__Example usages:__\n- FAB\n - Create\n - Compose\n- Extended FAB\n - Create\n - Compose\n - New Thread\n - New File", + "summary": "Floating action buttons (FABs) help people take primary actions.\nThey’re used to represent the most important action on a screen, such as\nCreate or Reply.", + "superclass": { + "name": "Fab", + "package": "@material/web", + "module": "fab/internal/fab.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, styles, forcedColors]" + }, + { + "kind": "field", + "name": "variant", + "description": "The FAB color variant to render.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'surface'", + "inheritedFrom": { + "name": "Fab" + } + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ primary: boolean; secondary: boolean; tertiary: boolean; lowered: boolean; small: boolean; large: boolean; extended: boolean; }" + } + }, + "inheritedFrom": { + "name": "Fab" + } + }, + { + "kind": "field", + "name": "size", + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'medium'", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "label", + "description": "The text to display on the FAB.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "lowered", + "description": "Lowers the FAB's elevation.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open' as const,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "SharedFab" + } + } + ], + "tagName": "md-fab", + "customElement": true, + "attributes": [ + { + "name": "variant", + "type": { + "text": "string" + }, + "description": "The FAB color variant to render.", + "fieldName": "variant", + "inheritedFrom": { + "name": "Fab" + } + }, + { + "name": "size", + "type": { + "text": "string" + }, + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "fieldName": "size", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "description": "The text to display on the FAB.", + "fieldName": "label", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "name": "lowered", + "type": { + "text": "boolean" + }, + "description": "Lowers the FAB's elevation.", + "fieldName": "lowered", + "inheritedFrom": { + "name": "SharedFab" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FabVariant", + "declaration": { + "name": "FabVariant", + "package": "@material/web", + "module": "fab/internal/fab.js" + } + }, + { + "kind": "js", + "name": "FabSize", + "declaration": { + "name": "FabSize", + "package": "@material/web", + "module": "fab/internal/shared.js" + } + }, + { + "kind": "js", + "name": "MdFab", + "declaration": { + "name": "MdFab" + } + }, + { + "kind": "custom-element-definition", + "name": "md-fab", + "declaration": { + "name": "MdFab" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/fab_test.js" + }, + { + "kind": "javascript-module", + "path": "fab/internal/fab-branded-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/internal/fab-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/internal/fab.js", + "declarations": [ + { + "kind": "class", + "name": "Fab", + "superclass": { + "name": "SharedFab", + "package": "@material/web", + "module": "fab/internal/shared.js" + }, + "members": [ + { + "kind": "field", + "name": "variant", + "description": "The FAB color variant to render.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'surface'" + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ primary: boolean; secondary: boolean; tertiary: boolean; lowered: boolean; small: boolean; large: boolean; extended: boolean; }" + } + } + }, + { + "kind": "field", + "name": "size", + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'medium'", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "label", + "description": "The text to display on the FAB.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "lowered", + "description": "Lowers the FAB's elevation.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open' as const,\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "SharedFab" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "variant", + "type": { + "text": "string" + }, + "description": "The FAB color variant to render.", + "fieldName": "variant" + }, + { + "name": "size", + "type": { + "text": "string" + }, + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "fieldName": "size", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "description": "The text to display on the FAB.", + "fieldName": "label", + "inheritedFrom": { + "name": "SharedFab" + } + }, + { + "name": "lowered", + "type": { + "text": "boolean" + }, + "description": "Lowers the FAB's elevation.", + "fieldName": "lowered", + "inheritedFrom": { + "name": "SharedFab" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Fab", + "declaration": { + "name": "Fab" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/internal/forced-colors-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/internal/shared-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "fab/internal/shared.js", + "declarations": [ + { + "kind": "class", + "name": "fabBaseClass", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "mixins": [ + { + "name": "mixinDelegatesAria", + "package": "@material/web", + "module": "internal/aria/delegate.js" + } + ] + }, + { + "kind": "class", + "name": "SharedFab", + "superclass": { + "name": "fabBaseClass", + "package": "@material/web", + "module": "fab/internal/shared.js" + }, + "members": [ + { + "kind": "field", + "name": "size", + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'medium'" + }, + { + "kind": "field", + "name": "label", + "description": "The text to display on the FAB.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "lowered", + "description": "Lowers the FAB's elevation.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open' as const,\n delegatesFocus: true,\n }" + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ lowered: boolean; small: boolean; large: boolean; extended: boolean; }" + } + } + }, + { + "kind": "method", + "name": "renderTouchTarget", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderLabel", + "privacy": "private", + "return": { + "type": { + "text": "string | TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 9, + "end": 23 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderIcon", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "size", + "type": { + "text": "string" + }, + "description": "The size of the FAB.\n\nNOTE: Branded FABs cannot be sized to `small`, and Extended FABs do not\nhave different sizes.", + "fieldName": "size" + }, + { + "name": "label", + "type": { + "text": "string" + }, + "description": "The text to display on the FAB.", + "fieldName": "label" + }, + { + "name": "lowered", + "type": { + "text": "boolean" + }, + "description": "Lowers the FAB's elevation.", + "fieldName": "lowered" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "SharedFab", + "declaration": { + "name": "SharedFab" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/filled-field.js", + "declarations": [ + { + "kind": "class", + "name": "MdFilledField", + "description": "TODO(b/228525797): add docs", + "superclass": { + "name": "FilledField", + "package": "@material/web", + "module": "field/internal/filled-field.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, filledStyles]" + }, + { + "kind": "method", + "name": "renderBackground", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilledField" + } + }, + { + "kind": "method", + "name": "renderStateLayer", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilledField" + } + }, + { + "kind": "method", + "name": "renderIndicator", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "FilledField" + } + }, + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "error", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "focused", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "label", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "noAsterisk", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "populated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "required", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "resizable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "supportingText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "errorText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "count", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "max", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasStart", + "description": "Whether or not the field has leading content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasEnd", + "description": "Whether or not the field has trailing content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "reannounceError", + "description": "Re-announces the field's error supporting text to screen readers.\n\nError text announces to screen readers anytime it is visible and changes.\nUse the method to re-announce the message when the text has not changed,\nbut announcement is still needed (such as for `reportValidity()`).", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "props", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "getSurfacePositionClientRect", + "privacy": "public", + "return": { + "type": { + "text": "DOMRect", + "references": [ + { + "name": "DOMRect", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + } + ], + "tagName": "md-filled-field", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "fieldName": "disabled", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error", + "type": { + "text": "boolean" + }, + "fieldName": "error", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "focused", + "type": { + "text": "boolean" + }, + "fieldName": "focused", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "fieldName": "label", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "no-asterisk", + "type": { + "text": "boolean" + }, + "fieldName": "noAsterisk", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "populated", + "type": { + "text": "boolean" + }, + "fieldName": "populated", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "fieldName": "required", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "resizable", + "type": { + "text": "boolean" + }, + "fieldName": "resizable", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "supporting-text", + "type": { + "text": "string" + }, + "fieldName": "supportingText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error-text", + "type": { + "text": "string" + }, + "fieldName": "errorText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "count", + "type": { + "text": "number" + }, + "fieldName": "count", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "max", + "type": { + "text": "number" + }, + "fieldName": "max", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-start", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has leading content.", + "fieldName": "hasStart", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-end", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has trailing content.", + "fieldName": "hasEnd", + "inheritedFrom": { + "name": "Field" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdFilledField", + "declaration": { + "name": "MdFilledField" + } + }, + { + "kind": "custom-element-definition", + "name": "md-filled-field", + "declaration": { + "name": "MdFilledField" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/filled-field_test.js" + }, + { + "kind": "javascript-module", + "path": "field/outlined-field.js", + "declarations": [ + { + "kind": "class", + "name": "MdOutlinedField", + "description": "TODO(b/228525797): add docs", + "superclass": { + "name": "OutlinedField", + "package": "@material/web", + "module": "field/internal/outlined-field.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, outlinedStyles]" + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "parameters": [ + { + "name": "floatingLabel", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "OutlinedField" + } + }, + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "error", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "focused", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "label", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "noAsterisk", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "populated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "required", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "resizable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "supportingText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "errorText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "count", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "max", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasStart", + "description": "Whether or not the field has leading content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasEnd", + "description": "Whether or not the field has trailing content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "reannounceError", + "description": "Re-announces the field's error supporting text to screen readers.\n\nError text announces to screen readers anytime it is visible and changes.\nUse the method to re-announce the message when the text has not changed,\nbut announcement is still needed (such as for `reportValidity()`).", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "props", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "getSurfacePositionClientRect", + "privacy": "public", + "return": { + "type": { + "text": "DOMRect", + "references": [ + { + "name": "DOMRect", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + } + ], + "tagName": "md-outlined-field", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "fieldName": "disabled", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error", + "type": { + "text": "boolean" + }, + "fieldName": "error", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "focused", + "type": { + "text": "boolean" + }, + "fieldName": "focused", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "fieldName": "label", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "no-asterisk", + "type": { + "text": "boolean" + }, + "fieldName": "noAsterisk", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "populated", + "type": { + "text": "boolean" + }, + "fieldName": "populated", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "fieldName": "required", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "resizable", + "type": { + "text": "boolean" + }, + "fieldName": "resizable", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "supporting-text", + "type": { + "text": "string" + }, + "fieldName": "supportingText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error-text", + "type": { + "text": "string" + }, + "fieldName": "errorText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "count", + "type": { + "text": "number" + }, + "fieldName": "count", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "max", + "type": { + "text": "number" + }, + "fieldName": "max", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-start", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has leading content.", + "fieldName": "hasStart", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-end", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has trailing content.", + "fieldName": "hasEnd", + "inheritedFrom": { + "name": "Field" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdOutlinedField", + "declaration": { + "name": "MdOutlinedField" + } + }, + { + "kind": "custom-element-definition", + "name": "md-outlined-field", + "declaration": { + "name": "MdOutlinedField" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/outlined-field_test.js" + }, + { + "kind": "javascript-module", + "path": "field/internal/field.js", + "declarations": [ + { + "kind": "class", + "name": "Field", + "description": "A field component.", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "members": [ + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "error", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "focused", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "label", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "noAsterisk", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "populated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "required", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "resizable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "supportingText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "errorText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "count", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1" + }, + { + "kind": "field", + "name": "max", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1" + }, + { + "kind": "field", + "name": "hasStart", + "description": "Whether or not the field has leading content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "hasEnd", + "description": "Whether or not the field has trailing content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "slottedAriaDescribedBy", + "privacy": "private", + "type": { + "text": "HTMLElement[]", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "isAnimating", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "labelAnimation", + "privacy": "private", + "type": { + "text": "Animation", + "references": [ + { + "name": "Animation", + "package": "global:", + "start": 0, + "end": 9 + } + ] + } + }, + { + "kind": "field", + "name": "refreshErrorAlert", + "description": "When set to true, the error text's `role=\"alert\"` will be removed, then\nre-added after an animation frame. This will re-announce an error message\nto screen readers.", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "disableTransitions", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "floatingLabelEl", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "restingLabelEl", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "containerEl", + "privacy": "private", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "field", + "name": "counterText", + "privacy": "private", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "supportingOrErrorText", + "privacy": "private", + "type": { + "text": "string" + } + }, + { + "kind": "method", + "name": "reannounceError", + "description": "Re-announces the field's error supporting text to screen readers.\n\nError text announces to screen readers anytime it is visible and changes.\nUse the method to re-announce the message when the text has not changed,\nbut announcement is still needed (such as for `reportValidity()`).", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "props", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "renderSupportingText", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1> | unique symbol", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "updateSlottedAriaDescribedBy", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "renderLabel", + "privacy": "private", + "parameters": [ + { + "name": "isFloating", + "type": { + "text": "boolean" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1> | unique symbol", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "animateLabelIfNeeded", + "privacy": "private", + "parameters": [ + { + "name": "{\n wasFocused,\n wasPopulated,\n }", + "type": { + "text": "{ wasFocused?: boolean; wasPopulated?: boolean; }" + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "getLabelKeyframes", + "privacy": "private", + "return": { + "type": { + "text": "{ transform: string; width: string; }[]" + } + } + }, + { + "kind": "method", + "name": "getSurfacePositionClientRect", + "privacy": "public", + "return": { + "type": { + "text": "DOMRect", + "references": [ + { + "name": "DOMRect", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "fieldName": "disabled" + }, + { + "name": "error", + "type": { + "text": "boolean" + }, + "fieldName": "error" + }, + { + "name": "focused", + "type": { + "text": "boolean" + }, + "fieldName": "focused" + }, + { + "name": "label", + "type": { + "text": "string" + }, + "fieldName": "label" + }, + { + "name": "no-asterisk", + "type": { + "text": "boolean" + }, + "fieldName": "noAsterisk" + }, + { + "name": "populated", + "type": { + "text": "boolean" + }, + "fieldName": "populated" + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "fieldName": "required" + }, + { + "name": "resizable", + "type": { + "text": "boolean" + }, + "fieldName": "resizable" + }, + { + "name": "supporting-text", + "type": { + "text": "string" + }, + "fieldName": "supportingText" + }, + { + "name": "error-text", + "type": { + "text": "string" + }, + "fieldName": "errorText" + }, + { + "name": "count", + "type": { + "text": "number" + }, + "fieldName": "count" + }, + { + "name": "max", + "type": { + "text": "number" + }, + "fieldName": "max" + }, + { + "name": "has-start", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has leading content.", + "fieldName": "hasStart" + }, + { + "name": "has-end", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has trailing content.", + "fieldName": "hasEnd" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Field", + "declaration": { + "name": "Field" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/internal/field_test.js", + "declarations": [ + { + "kind": "class", + "name": "TestField", + "superclass": { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js" + }, + "members": [ + { + "kind": "field", + "name": "labelText", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "supportingTextContent", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "method", + "name": "didErrorAnnounce", + "privacy": "public", + "return": { + "type": { + "text": "boolean" + } + } + }, + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "parameters": [ + { + "name": "floatingLabel", + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + ], + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "error", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "focused", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "label", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "noAsterisk", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "populated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "required", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "resizable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "supportingText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "errorText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "count", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "max", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasStart", + "description": "Whether or not the field has leading content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasEnd", + "description": "Whether or not the field has trailing content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "reannounceError", + "description": "Re-announces the field's error supporting text to screen readers.\n\nError text announces to screen readers anytime it is visible and changes.\nUse the method to re-announce the message when the text has not changed,\nbut announcement is still needed (such as for `reportValidity()`).", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "props", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "getSurfacePositionClientRect", + "privacy": "public", + "return": { + "type": { + "text": "DOMRect", + "references": [ + { + "name": "DOMRect", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + } + ], + "tagName": "md-test-field", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "fieldName": "disabled", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error", + "type": { + "text": "boolean" + }, + "fieldName": "error", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "focused", + "type": { + "text": "boolean" + }, + "fieldName": "focused", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "fieldName": "label", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "no-asterisk", + "type": { + "text": "boolean" + }, + "fieldName": "noAsterisk", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "populated", + "type": { + "text": "boolean" + }, + "fieldName": "populated", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "fieldName": "required", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "resizable", + "type": { + "text": "boolean" + }, + "fieldName": "resizable", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "supporting-text", + "type": { + "text": "string" + }, + "fieldName": "supportingText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error-text", + "type": { + "text": "string" + }, + "fieldName": "errorText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "count", + "type": { + "text": "number" + }, + "fieldName": "count", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "max", + "type": { + "text": "number" + }, + "fieldName": "max", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-start", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has leading content.", + "fieldName": "hasStart", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-end", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has trailing content.", + "fieldName": "hasEnd", + "inheritedFrom": { + "name": "Field" + } + } + ] + } + ], + "exports": [ + { + "kind": "custom-element-definition", + "name": "md-test-field", + "declaration": { + "name": "TestField" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/internal/filled-field.js", + "declarations": [ + { + "kind": "class", + "name": "FilledField", + "description": "A filled field component.", + "superclass": { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js" + }, + "members": [ + { + "kind": "method", + "name": "renderBackground", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderStateLayer", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderIndicator", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "error", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "focused", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "label", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "noAsterisk", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "populated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "required", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "resizable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "supportingText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "errorText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "count", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "max", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasStart", + "description": "Whether or not the field has leading content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasEnd", + "description": "Whether or not the field has trailing content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "reannounceError", + "description": "Re-announces the field's error supporting text to screen readers.\n\nError text announces to screen readers anytime it is visible and changes.\nUse the method to re-announce the message when the text has not changed,\nbut announcement is still needed (such as for `reportValidity()`).", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "props", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "getSurfacePositionClientRect", + "privacy": "public", + "return": { + "type": { + "text": "DOMRect", + "references": [ + { + "name": "DOMRect", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "fieldName": "disabled", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error", + "type": { + "text": "boolean" + }, + "fieldName": "error", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "focused", + "type": { + "text": "boolean" + }, + "fieldName": "focused", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "fieldName": "label", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "no-asterisk", + "type": { + "text": "boolean" + }, + "fieldName": "noAsterisk", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "populated", + "type": { + "text": "boolean" + }, + "fieldName": "populated", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "fieldName": "required", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "resizable", + "type": { + "text": "boolean" + }, + "fieldName": "resizable", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "supporting-text", + "type": { + "text": "string" + }, + "fieldName": "supportingText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error-text", + "type": { + "text": "string" + }, + "fieldName": "errorText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "count", + "type": { + "text": "number" + }, + "fieldName": "count", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "max", + "type": { + "text": "number" + }, + "fieldName": "max", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-start", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has leading content.", + "fieldName": "hasStart", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-end", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has trailing content.", + "fieldName": "hasEnd", + "inheritedFrom": { + "name": "Field" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FilledField", + "declaration": { + "name": "FilledField" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/internal/filled-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/internal/outlined-field.js", + "declarations": [ + { + "kind": "class", + "name": "OutlinedField", + "description": "An outlined field component.", + "superclass": { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js" + }, + "members": [ + { + "kind": "method", + "name": "renderOutline", + "privacy": "protected", + "parameters": [ + { + "name": "floatingLabel", + "type": { + "text": "unknown" + } + } + ], + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "field", + "name": "disabled", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "error", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "focused", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "label", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "noAsterisk", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "populated", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "required", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "resizable", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "supportingText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "errorText", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "count", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "max", + "privacy": "public", + "type": { + "text": "number" + }, + "default": "-1", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasStart", + "description": "Whether or not the field has leading content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "field", + "name": "hasEnd", + "description": "Whether or not the field has trailing content.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "reannounceError", + "description": "Re-announces the field's error supporting text to screen readers.\n\nError text announces to screen readers anytime it is visible and changes.\nUse the method to re-announce the message when the text has not changed,\nbut announcement is still needed (such as for `reportValidity()`).", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "update", + "privacy": "protected", + "parameters": [ + { + "name": "props", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "updated", + "privacy": "protected", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "Field", + "package": "@material/web", + "module": "field/internal/field.js", + "start": 17, + "end": 22 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Field" + } + }, + { + "kind": "method", + "name": "getSurfacePositionClientRect", + "privacy": "public", + "return": { + "type": { + "text": "DOMRect", + "references": [ + { + "name": "DOMRect", + "package": "global:", + "start": 0, + "end": 7 + } + ] + } + }, + "inheritedFrom": { + "name": "Field" + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "fieldName": "disabled", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error", + "type": { + "text": "boolean" + }, + "fieldName": "error", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "focused", + "type": { + "text": "boolean" + }, + "fieldName": "focused", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "label", + "type": { + "text": "string" + }, + "fieldName": "label", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "no-asterisk", + "type": { + "text": "boolean" + }, + "fieldName": "noAsterisk", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "populated", + "type": { + "text": "boolean" + }, + "fieldName": "populated", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "required", + "type": { + "text": "boolean" + }, + "fieldName": "required", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "resizable", + "type": { + "text": "boolean" + }, + "fieldName": "resizable", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "supporting-text", + "type": { + "text": "string" + }, + "fieldName": "supportingText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "error-text", + "type": { + "text": "string" + }, + "fieldName": "errorText", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "count", + "type": { + "text": "number" + }, + "fieldName": "count", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "max", + "type": { + "text": "number" + }, + "fieldName": "max", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-start", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has leading content.", + "fieldName": "hasStart", + "inheritedFrom": { + "name": "Field" + } + }, + { + "name": "has-end", + "type": { + "text": "boolean" + }, + "description": "Whether or not the field has trailing content.", + "fieldName": "hasEnd", + "inheritedFrom": { + "name": "Field" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "OutlinedField", + "declaration": { + "name": "OutlinedField" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/internal/outlined-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "field/internal/shared-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "focus/md-focus-ring.js", + "declarations": [ + { + "kind": "class", + "name": "MdFocusRing", + "description": "TODO(b/267336424): add docs", + "superclass": { + "name": "FocusRing", + "package": "@material/web", + "module": "focus/internal/focus-ring.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[styles]" + }, + { + "kind": "field", + "name": "visible", + "description": "Makes the focus ring visible.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "kind": "field", + "name": "inward", + "description": "Makes the focus ring animate inwards instead of outwards.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "kind": "field", + "name": "htmlFor", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "kind": "field", + "name": "control", + "privacy": "public", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + }, + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "kind": "method", + "name": "attach", + "privacy": "public", + "parameters": [ + { + "name": "control", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "kind": "method", + "name": "detach", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "kind": "method", + "name": "update", + "privacy": "public", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "FocusRing", + "package": "@material/web", + "module": "focus/internal/focus-ring.js", + "start": 17, + "end": 26 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "FocusRing" + } + } + ], + "tagName": "md-focus-ring", + "customElement": true, + "attributes": [ + { + "name": "visible", + "type": { + "text": "boolean" + }, + "description": "Makes the focus ring visible.", + "fieldName": "visible", + "inheritedFrom": { + "name": "FocusRing" + } + }, + { + "name": "inward", + "type": { + "text": "boolean" + }, + "description": "Makes the focus ring animate inwards instead of outwards.", + "fieldName": "inward", + "inheritedFrom": { + "name": "FocusRing" + } + } + ], + "events": [ + { + "name": "visibility-changed", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Fired whenever `visible` changes.", + "inheritedFrom": { + "name": "FocusRing" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdFocusRing", + "declaration": { + "name": "MdFocusRing" + } + }, + { + "kind": "custom-element-definition", + "name": "md-focus-ring", + "declaration": { + "name": "MdFocusRing" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "focus/md-focus-ring_test.js" + }, + { + "kind": "javascript-module", + "path": "focus/internal/focus-ring-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "focus/internal/focus-ring.js", + "declarations": [ + { + "kind": "variable", + "name": "EVENTS", + "description": "Events that the focus ring listens to.", + "type": { + "text": "string[]" + } + }, + { + "kind": "class", + "name": "FocusRing", + "description": "A focus ring component.", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "members": [ + { + "kind": "field", + "name": "visible", + "description": "Makes the focus ring visible.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "inward", + "description": "Makes the focus ring animate inwards instead of outwards.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "attachableController", + "privacy": "private", + "type": { + "text": "AttachableController", + "references": [ + { + "name": "AttachableController", + "package": "@material/web", + "module": "internal/controller/attachable-controller.js", + "start": 0, + "end": 20 + } + ] + }, + "default": "new AttachableController(\n this,\n this.onControlChange.bind(this),\n )" + }, + { + "kind": "field", + "name": "htmlFor", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "control", + "privacy": "public", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "kind": "method", + "name": "attach", + "privacy": "public", + "parameters": [ + { + "name": "control", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "detach", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleEvent", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "FocusRingEvent", + "references": [ + { + "name": "FocusRingEvent", + "package": "@material/web", + "module": "focus/internal/focus-ring.js", + "start": 0, + "end": 14 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "onControlChange", + "privacy": "private", + "parameters": [ + { + "name": "prev", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + }, + { + "name": "next", + "type": { + "text": "HTMLElement", + "references": [ + { + "name": "HTMLElement", + "package": "global:", + "start": 0, + "end": 11 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "update", + "privacy": "public", + "parameters": [ + { + "name": "changed", + "type": { + "text": "PropertyValueMap", + "references": [ + { + "name": "PropertyValueMap", + "package": "lit", + "start": 0, + "end": 16 + }, + { + "name": "FocusRing", + "package": "@material/web", + "module": "focus/internal/focus-ring.js", + "start": 17, + "end": 26 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + } + ], + "customElement": true, + "attributes": [ + { + "name": "visible", + "type": { + "text": "boolean" + }, + "description": "Makes the focus ring visible.", + "fieldName": "visible" + }, + { + "name": "inward", + "type": { + "text": "boolean" + }, + "description": "Makes the focus ring animate inwards instead of outwards.", + "fieldName": "inward" + } + ], + "events": [ + { + "name": "visibility-changed", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Fired whenever `visible` changes." + } + ] + }, + { + "kind": "variable", + "name": "HANDLED_BY_FOCUS_RING", + "type": { + "text": "unique symbol" + } + } + ], + "exports": [ + { + "kind": "js", + "name": "FocusRing", + "declaration": { + "name": "FocusRing" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "focus/internal/focus-ring_test.js" + }, + { + "kind": "javascript-module", + "path": "icon/icon.js", + "declarations": [ + { + "kind": "class", + "name": "MdIcon", + "superclass": { + "name": "Icon", + "package": "@material/web", + "module": "icon/internal/icon.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[styles]" + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "Icon" + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "Icon" + } + } + ], + "tagName": "md-icon", + "customElement": true + } + ], + "exports": [ + { + "kind": "js", + "name": "MdIcon", + "declaration": { + "name": "MdIcon" + } + }, + { + "kind": "custom-element-definition", + "name": "md-icon", + "declaration": { + "name": "MdIcon" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "icon/icon_test.js" + }, + { + "kind": "javascript-module", + "path": "icon/internal/icon-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "icon/internal/icon.js", + "declarations": [ + { + "kind": "class", + "name": "Icon", + "description": "TODO(b/265336902): add docs", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "members": [ + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + } + ], + "customElement": true + } + ], + "exports": [ + { + "kind": "js", + "name": "Icon", + "declaration": { + "name": "Icon" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/filled-icon-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdFilledIconButton", + "description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", + "summary": "Icon buttons help people take supplementary actions with a single\ntap.", + "superclass": { + "name": "IconButton", + "package": "@material/web", + "module": "iconbutton/internal/icon-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, styles]" + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ filled: boolean; 'toggle-filled': boolean; 'flip-icon': boolean; selected: boolean; }" + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Disables the icon button and makes it non-interactive.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "flipIconInRtl", + "description": "Flips the icon if it is in an RTL context at startup.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "href", + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "target", + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "ariaLabelSelected", + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "toggle", + "description": "When true, the button will toggle between selected and unselected\nstates", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "selected", + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "labels", + "privacy": "public", + "type": { + "text": "NodeList", + "references": [ + { + "name": "NodeList", + "package": "global:", + "start": 0, + "end": 8 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "willUpdate", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "tagName": "md-filled-icon-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Disables the icon button and makes it non-interactive.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "flip-icon-in-rtl", + "type": { + "text": "boolean" + }, + "description": "Flips the icon if it is in an RTL context at startup.", + "fieldName": "flipIconInRtl", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "fieldName": "href", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "fieldName": "target", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "aria-label-selected", + "type": { + "text": "string" + }, + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "fieldName": "ariaLabelSelected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "toggle", + "type": { + "text": "boolean" + }, + "description": "When true, the button will toggle between selected and unselected\nstates", + "fieldName": "toggle", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "fieldName": "selected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "events": [ + { + "name": "input", + "type": { + "text": "InputEvent", + "references": [ + { + "name": "InputEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles\n--composed", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "change", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles", + "inheritedFrom": { + "name": "IconButton" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdFilledIconButton", + "declaration": { + "name": "MdFilledIconButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-filled-icon-button", + "declaration": { + "name": "MdFilledIconButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/filled-icon-button_test.js" + }, + { + "kind": "javascript-module", + "path": "iconbutton/filled-tonal-icon-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdFilledTonalIconButton", + "description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", + "summary": "Icon buttons help people take supplementary actions with a single\ntap.", + "superclass": { + "name": "IconButton", + "package": "@material/web", + "module": "iconbutton/internal/icon-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, styles]" + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ 'filled-tonal': boolean; 'toggle-filled-tonal': boolean; 'flip-icon': boolean; selected: boolean; }" + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Disables the icon button and makes it non-interactive.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "flipIconInRtl", + "description": "Flips the icon if it is in an RTL context at startup.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "href", + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "target", + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "ariaLabelSelected", + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "toggle", + "description": "When true, the button will toggle between selected and unselected\nstates", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "selected", + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "labels", + "privacy": "public", + "type": { + "text": "NodeList", + "references": [ + { + "name": "NodeList", + "package": "global:", + "start": 0, + "end": 8 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "willUpdate", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "tagName": "md-filled-tonal-icon-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Disables the icon button and makes it non-interactive.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "flip-icon-in-rtl", + "type": { + "text": "boolean" + }, + "description": "Flips the icon if it is in an RTL context at startup.", + "fieldName": "flipIconInRtl", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "fieldName": "href", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "fieldName": "target", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "aria-label-selected", + "type": { + "text": "string" + }, + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "fieldName": "ariaLabelSelected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "toggle", + "type": { + "text": "boolean" + }, + "description": "When true, the button will toggle between selected and unselected\nstates", + "fieldName": "toggle", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "fieldName": "selected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "events": [ + { + "name": "input", + "type": { + "text": "InputEvent", + "references": [ + { + "name": "InputEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles\n--composed", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "change", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles", + "inheritedFrom": { + "name": "IconButton" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdFilledTonalIconButton", + "declaration": { + "name": "MdFilledTonalIconButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-filled-tonal-icon-button", + "declaration": { + "name": "MdFilledTonalIconButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/filled-tonal-icon-button_test.js" + }, + { + "kind": "javascript-module", + "path": "iconbutton/icon-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdIconButton", + "description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", + "summary": "Icon buttons help people take supplementary actions with a single\ntap.", + "superclass": { + "name": "IconButton", + "package": "@material/web", + "module": "iconbutton/internal/icon-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, styles]" + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ standard: boolean; 'flip-icon': boolean; selected: boolean; }" + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Disables the icon button and makes it non-interactive.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "flipIconInRtl", + "description": "Flips the icon if it is in an RTL context at startup.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "href", + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "target", + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "ariaLabelSelected", + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "toggle", + "description": "When true, the button will toggle between selected and unselected\nstates", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "selected", + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "labels", + "privacy": "public", + "type": { + "text": "NodeList", + "references": [ + { + "name": "NodeList", + "package": "global:", + "start": 0, + "end": 8 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "willUpdate", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "tagName": "md-icon-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Disables the icon button and makes it non-interactive.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "flip-icon-in-rtl", + "type": { + "text": "boolean" + }, + "description": "Flips the icon if it is in an RTL context at startup.", + "fieldName": "flipIconInRtl", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "fieldName": "href", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "fieldName": "target", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "aria-label-selected", + "type": { + "text": "string" + }, + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "fieldName": "ariaLabelSelected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "toggle", + "type": { + "text": "boolean" + }, + "description": "When true, the button will toggle between selected and unselected\nstates", + "fieldName": "toggle", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "fieldName": "selected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "events": [ + { + "name": "input", + "type": { + "text": "InputEvent", + "references": [ + { + "name": "InputEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles\n--composed", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "change", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles", + "inheritedFrom": { + "name": "IconButton" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdIconButton", + "declaration": { + "name": "MdIconButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-icon-button", + "declaration": { + "name": "MdIconButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/icon-button_test.js", + "declarations": [ + { + "kind": "variable", + "name": "ICON_BUTTON_TEMPLATE", + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + { + "kind": "variable", + "name": "LINK_ICON_BUTTON_TEMPLATE", + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + { + "kind": "variable", + "name": "ICON_BUTTON_TOGGLE_TEMPLATE", + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/outlined-icon-button.js", + "declarations": [ + { + "kind": "class", + "name": "MdOutlinedIconButton", + "description": "__Emphasis:__ Low emphasis – For optional or supplementary actions with the\nleast amount of prominence.\n\n__Rationale:__ The most compact and unobtrusive type of button, icon buttons\nare used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n\n__Example usages:__\n- Add to Favorites\n- Print", + "summary": "Icon buttons help people take supplementary actions with a single\ntap.", + "superclass": { + "name": "IconButton", + "package": "@material/web", + "module": "iconbutton/internal/icon-button.js" + }, + "members": [ + { + "kind": "field", + "name": "styles", + "static": true, + "privacy": "public", + "type": { + "text": "CSSResultOrNative[]", + "references": [ + { + "name": "CSSResultOrNative", + "package": "lit", + "start": 0, + "end": 17 + } + ] + }, + "default": "[sharedStyles, styles]" + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ outlined: boolean; 'flip-icon': boolean; selected: boolean; }" + } + } + }, + { + "kind": "field", + "name": "disabled", + "description": "Disables the icon button and makes it non-interactive.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "softDisabled", + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "flipIconInRtl", + "description": "Flips the icon if it is in an RTL context at startup.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "href", + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "target", + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "ariaLabelSelected", + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "toggle", + "description": "When true, the button will toggle between selected and unselected\nstates", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "selected", + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "labels", + "privacy": "public", + "type": { + "text": "NodeList", + "references": [ + { + "name": "NodeList", + "package": "global:", + "start": 0, + "end": 8 + } + ] + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "willUpdate", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + }, + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + }, + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "tagName": "md-outlined-icon-button", + "customElement": true, + "attributes": [ + { + "name": "disabled", + "type": { + "text": "boolean" + }, + "description": "Disables the icon button and makes it non-interactive.", + "fieldName": "disabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "soft-disabled", + "type": { + "text": "boolean" + }, + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "fieldName": "softDisabled", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "flip-icon-in-rtl", + "type": { + "text": "boolean" + }, + "description": "Flips the icon if it is in an RTL context at startup.", + "fieldName": "flipIconInRtl", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "href", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "fieldName": "href", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "download", + "type": { + "text": "string" + }, + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "fieldName": "download", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "target", + "type": { + "text": "string" + }, + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "fieldName": "target", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "aria-label-selected", + "type": { + "text": "string" + }, + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "fieldName": "ariaLabelSelected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "toggle", + "type": { + "text": "boolean" + }, + "description": "When true, the button will toggle between selected and unselected\nstates", + "fieldName": "toggle", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "selected", + "type": { + "text": "boolean" + }, + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "fieldName": "selected", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "type", + "type": { + "text": "string" + }, + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "fieldName": "type", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "value", + "type": { + "text": "string" + }, + "description": "The value added to a form with the button's name when the button submits a\nform.", + "fieldName": "value", + "inheritedFrom": { + "name": "IconButton" + } + } + ], + "events": [ + { + "name": "input", + "type": { + "text": "InputEvent", + "references": [ + { + "name": "InputEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles\n--composed", + "inheritedFrom": { + "name": "IconButton" + } + }, + { + "name": "change", + "type": { + "text": "Event", + "references": [ + { + "name": "Event", + "package": "global:", + "start": 0, + "end": 5 + } + ] + }, + "description": "Dispatched when a toggle button toggles --bubbles", + "inheritedFrom": { + "name": "IconButton" + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MdOutlinedIconButton", + "declaration": { + "name": "MdOutlinedIconButton" + } + }, + { + "kind": "custom-element-definition", + "name": "md-outlined-icon-button", + "declaration": { + "name": "MdOutlinedIconButton" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/outlined-icon-button_test.js" + }, + { + "kind": "javascript-module", + "path": "iconbutton/internal/filled-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/internal/filled-tonal-styles.js", + "declarations": [ + { + "kind": "variable", + "name": "styles", + "type": { + "text": "CSSResult", + "references": [ + { + "name": "CSSResult", + "package": "lit", + "start": 0, + "end": 9 + } + ] + } + } + ], + "exports": [ + { + "kind": "js", + "name": "styles", + "declaration": { + "name": "styles" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "iconbutton/internal/icon-button.js", + "declarations": [ + { + "kind": "class", + "name": "iconButtonBaseClass", + "superclass": { + "name": "LitElement", + "package": "lit" + }, + "mixins": [ + { + "name": "mixinDelegatesAria", + "package": "@material/web", + "module": "internal/aria/delegate.js" + }, + { + "name": "mixinElementInternals", + "package": "@material/web", + "module": "labs/behaviors/element-internals.js" + } + ] + }, + { + "kind": "class", + "name": "IconButton", + "description": "A button for rendering icons.", + "superclass": { + "name": "iconButtonBaseClass", + "package": "@material/web", + "module": "iconbutton/internal/icon-button.js" + }, + "members": [ + { + "kind": "field", + "name": "disabled", + "description": "Disables the icon button and makes it non-interactive.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "softDisabled", + "description": "\"Soft-disables\" the icon button (disabled but still focusable).\n\nUse this when an icon button needs increased visibility when disabled. See\nhttps://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\nfor more guidance on when this is needed.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "flipIconInRtl", + "description": "Flips the icon if it is in an RTL context at startup.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "href", + "description": "Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "download", + "description": "The filename to use when downloading the linked resource.\nIf not specified, the browser will determine a filename.\nThis is only applicable when the icon button is used as a link (`href` is set).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "target", + "description": "Sets the underlying `HTMLAnchorElement`'s `target` attribute.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "ariaLabelSelected", + "description": "The `aria-label` of the button when the button is toggleable and selected.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "toggle", + "description": "When true, the button will toggle between selected and unselected\nstates", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "selected", + "description": "Sets the selected state. When false, displays the default icon. When true,\ndisplays the selected icon, or the default icon If no `slot=\"selected\"`\nicon is provided.", + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "type", + "description": "The default behavior of the button. May be \"button\", \"reset\", or \"submit\"\n(default).", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "'submit'" + }, + { + "kind": "field", + "name": "value", + "description": "The value added to a form with the button's name when the button submits a\nform.", + "privacy": "public", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "flipIcon", + "privacy": "private", + "type": { + "text": "boolean" + }, + "default": "isRtl(this, this.flipIconInRtl)" + }, + { + "kind": "field", + "name": "name", + "privacy": "public", + "type": { + "text": "string" + } + }, + { + "kind": "field", + "name": "form", + "privacy": "public", + "type": { + "text": "HTMLFormElement", + "references": [ + { + "name": "HTMLFormElement", + "package": "global:", + "start": 0, + "end": 15 + } + ] + } + }, + { + "kind": "field", + "name": "labels", + "privacy": "public", + "type": { + "text": "NodeList", + "references": [ + { + "name": "NodeList", + "package": "global:", + "start": 0, + "end": 8 + } + ] + } + }, + { + "kind": "field", + "name": "formAssociated", + "static": true, + "privacy": "public", + "type": { + "text": "boolean" + }, + "default": "true" + }, + { + "kind": "field", + "name": "shadowRootOptions", + "static": true, + "privacy": "public", + "type": { + "text": "ShadowRootInit", + "references": [ + { + "name": "ShadowRootInit", + "package": "global:", + "start": 0, + "end": 14 + } + ] + }, + "default": "{\n mode: 'open',\n delegatesFocus: true,\n }" + }, + { + "kind": "method", + "name": "willUpdate", + "privacy": "protected", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "render", + "privacy": "protected", + "return": { + "type": { + "text": "TemplateResult", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderLink", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "getRenderClasses", + "privacy": "protected", + "return": { + "type": { + "text": "{ 'flip-icon': boolean; selected: boolean; }" + } + } + }, + { + "kind": "method", + "name": "renderIcon", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderSelectedIcon", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderTouchTarget", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderFocusRing", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "renderRipple", + "privacy": "private", + "return": { + "type": { + "text": "TemplateResult<1>", + "references": [ + { + "name": "TemplateResult", + "package": "lit-html", + "start": 0, + "end": 14 + } + ] + } + } + }, + { + "kind": "method", + "name": "connectedCallback", + "privacy": "public", + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleClick", + "description": "Handles a click on this element.", + "privacy": "private", + "parameters": [ + { + "name": "event", + "type": { + "text": "MouseEvent", + "references": [ + { + "name": "MouseEvent", + "package": "global:", + "start": 0, + "end": 10 + } + ] + } + } + ], + "return": { + "type": { + "text": "void" + } + } + }, + { + "kind": "method", + "name": "handleClickOnChild", + "description": "Handles a click on the child
or