@digital-realty/ix-select
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -1,6 +0,6 @@ | ||
import { LitElement, PropertyValues } from 'lit'; | ||
import '@digital-realty/ix-icon/ix-icon.js'; | ||
import '@material/web/select/filled-select.js'; | ||
import { Select } from '@material/web/select/internal/select.js'; | ||
import '@material/web/select/filled-select.js'; | ||
import '@material/web/select/outlined-select.js'; | ||
import '@digital-realty/ix-icon/ix-icon.js'; | ||
import { LitElement, PropertyValues } from 'lit'; | ||
import './selectoption/ix-select-option.js'; | ||
@@ -110,3 +110,3 @@ declare const VALUE: unique symbol; | ||
getUpdateComplete(): Promise<boolean>; | ||
protected updated(changed: PropertyValues<Select>): void; | ||
protected updated(changed: PropertyValues<Select>): Promise<void>; | ||
private getErrorText; | ||
@@ -130,4 +130,4 @@ private syncValidity; | ||
disconnectedCallback(): void; | ||
render(): import("lit-html").TemplateResult<2 | 1>; | ||
render(): import("lit").TemplateResult<1 | 2>; | ||
} | ||
export {}; |
var _a; | ||
import { __decorate } from "tslib"; | ||
import { html, LitElement, nothing, isServer } from 'lit'; | ||
import { html as staticHtml, literal } from 'lit/static-html.js'; | ||
import { property, query, state } from 'lit/decorators.js'; | ||
import { ifDefined } from 'lit/directives/if-defined.js'; | ||
import '@digital-realty/ix-icon/ix-icon.js'; | ||
import { requestUpdateOnAriaChange } from '@material/web/internal/aria/delegate.js'; | ||
@@ -11,3 +8,6 @@ import { DEFAULT_TYPEAHEAD_BUFFER_TIME } from '@material/web/menu/internal/menu.js'; | ||
import '@material/web/select/outlined-select.js'; | ||
import '@digital-realty/ix-icon/ix-icon.js'; | ||
import { LitElement, html, isServer, nothing } from 'lit'; | ||
import { property, query, state } from 'lit/decorators.js'; | ||
import { ifDefined } from 'lit/directives/if-defined.js'; | ||
import { literal, html as staticHtml } from 'lit/static-html.js'; | ||
import './selectoption/ix-select-option.js'; | ||
@@ -155,6 +155,7 @@ const VALUE = Symbol('value'); | ||
} | ||
updated(changed) { | ||
async updated(changed) { | ||
if (changed.has('required')) { | ||
this.syncValidity(); | ||
} | ||
await this.getUpdateComplete(); | ||
} | ||
@@ -199,2 +200,3 @@ getErrorText() { | ||
this.component.reset(); | ||
this.internals.setFormValue(this.component.value); | ||
} | ||
@@ -201,0 +203,0 @@ /** @private */ |
@@ -60,3 +60,3 @@ /** | ||
private readonly selectOptionController; | ||
protected render(): import("lit-html").TemplateResult<1>; | ||
protected render(): import("lit").TemplateResult<1>; | ||
/** | ||
@@ -67,11 +67,11 @@ * Renders the root list item. | ||
*/ | ||
protected renderListItem(content: unknown): import("lit-html").TemplateResult<1>; | ||
protected renderListItem(content: unknown): import("lit").TemplateResult<1>; | ||
/** | ||
* Handles rendering of the ripple element. | ||
*/ | ||
protected renderRipple(): import("lit-html").TemplateResult<1>; | ||
protected renderRipple(): import("lit").TemplateResult<1>; | ||
/** | ||
* Handles rendering of the focus ring. | ||
*/ | ||
protected renderFocusRing(): import("lit-html").TemplateResult<1>; | ||
protected renderFocusRing(): import("lit").TemplateResult<1>; | ||
/** | ||
@@ -84,4 +84,4 @@ * Classes applied to the list item root. | ||
*/ | ||
protected renderBody(): import("lit-html").TemplateResult<1>; | ||
protected renderBody(): import("lit").TemplateResult<1>; | ||
focus(): void; | ||
} |
@@ -62,3 +62,3 @@ /** | ||
*/ | ||
get role(): "option" | "menuitem"; | ||
get role(): "menuitem" | "option"; | ||
/** | ||
@@ -65,0 +65,0 @@ * The text that is selectable via typeahead. If not set, defaults to the |
@@ -6,3 +6,3 @@ { | ||
"author": "interxion", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"type": "module", | ||
@@ -108,3 +108,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "32eacf07ffc017cb281c3ea66f02ebbd1383b23a" | ||
"gitHead": "3f03e0e887e1a3fdbeeba66e270abbb74ae7a95b" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75106
999