UNPKG

@itwin/appui-abstract

Version:
20 lines 1.25 kB
/** @packageDocumentation * @module Utilities */ /** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec. * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities. */ export declare class IconSpecUtilities { /** Prefix for an SVG IconSpec loaded with the Sprite loader */ static readonly SVG_PREFIX = "svg:"; static readonly WEB_COMPONENT_PREFIX = "webSvg:"; /** Create an IconSpec for an SVG loaded into web component with svg-loader * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility. */ static createWebComponentIconSpec(srcString: string): string; /** Get the SVG Source from an svg-loader IconSpec * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility. */ static getWebComponentSource(iconSpec: string): string | undefined; } //# sourceMappingURL=IconSpecUtilities.d.ts.map