UNPKG

@huluvu424242/honey-slideshow

Version:

Text to Speech component wich is reading texts from DOM elements.

24 lines (19 loc) 1.09 kB
import { r as registerInstance, h, H as Host } from './index-a2883912.js'; import { g as getIonMode } from './ionic-global-c170bb31.js'; import { c as createColorClasses } from './theme-74c22054.js'; const noteIosCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6)}"; const noteMdCss = ":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}"; const Note = class { constructor(hostRef) { registerInstance(this, hostRef); } render() { const mode = getIonMode(this); return (h(Host, { class: Object.assign(Object.assign({}, createColorClasses(this.color)), { [mode]: true }) }, h("slot", null))); } }; Note.style = { ios: noteIosCss, md: noteMdCss }; export { Note as ion_note };