UNPKG

@spectrum-web-components/base

Version:

The `SpectrumElement` base class as created by mixing `SpectrumMixin` onto `LitElement` provides text direction support via the CSS `:dir()` pseudo-class, which automatically inherits directionality from the DOM hierarchy. In a TypeScript context, it also

13 lines (12 loc) 283 B
"use strict"; export const INPUT_COMPONENT_TAGS = [ "SP-SEARCH", "SP-TEXTFIELD", "SP-NUMBER-FIELD", "SP-COMBOBOX", "SP-COLOR-FIELD" ]; export const INPUT_COMPONENT_PATTERN = new RegExp( `^(${INPUT_COMPONENT_TAGS.join("|")})$` ); //# sourceMappingURL=constants.dev.js.map