mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
- Create centralized SVG files in core icons package assets directory - Add rollup-plugin-string to core icons for SVG file processing - Export SVG_ICONS object from core package for cross-package sharing - Refactor html-icons to import SVG strings from @vjs-10/icons - Remove hardcoded SVG strings in favor of shared definitions - Add TypeScript declarations for SVG imports This establishes a foundation for sharing more code across the monorepo while maintaining proper package boundaries and build system integration. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
391 B
TypeScript
15 lines
391 B
TypeScript
import { MediaChromeIcon } from './media-chrome-icon.js';
|
|
import { SVG_ICONS } from '@vjs-10/icons';
|
|
|
|
export function getTemplateHTML() {
|
|
return /* html */ `
|
|
${MediaChromeIcon.getTemplateHTML()}
|
|
${SVG_ICONS.pause}
|
|
`;
|
|
}
|
|
|
|
export class MediaPauseIcon extends MediaChromeIcon {
|
|
static getTemplateHTML = getTemplateHTML;
|
|
}
|
|
|
|
customElements.define('media-pause-icon', MediaPauseIcon); |