Package-level declarations
Types
Attribute names of <vaadin-icon>, for use with setAttribute.
<vaadin-icon> is a Web Component for displaying SVG icons.
Mixin which enables the font icon sizing fallback for browsers that do not support CSS Container Queries. In older versions of Safari, it didn't support Container Queries units used in pseudo-elements. It has been fixed in recent versions, but there's an regression in Safari 26, which caused the same issue to happen when the icon is attached to an element with shadow root. The mixin does nothing if the browser supports CSS Container Query units for pseudo elements.
Attribute names of <vaadin-iconset>, for use with setAttribute.
<vaadin-iconset> is a Web Component for creating SVG icon collections.
An icon of a registered iconset, as returned by Iconset.getIconSvg.
An SVG literal produced by Lit's svg tagged template: an SVGTemplateResult, or the nothing sentinel when there is no content.
Functions
Clone given node and return its content as SVG literal.
Creates a <vaadin-icon> element. The custom element is registered on first use.
Creates a <vaadin-iconset> element. The custom element is registered on first use.
Create a valid SVG literal based on the argument.
Test if the given argument is a valid SVG literal.
Checks if the current browser needs a fallback for sizing font icons instead of relying on CSS Container Queries.
Imports @vaadin/icon/src/vaadin-icon.js, registering <vaadin-icon>, and returns the element class.
Imports @vaadin/icon/src/vaadin-iconset.js, registering <vaadin-iconset>, and returns the element class.
Checks if the current browser supports CSS Container Query units for pseudo elements. i.e. if the fix for https://bugs.webkit.org/show_bug.cgi?id=253939 is available.
Create an SVG literal from source string.