UNPKG

@safe-stars/components

Version:

React component library for buying Telegram Stars in Telegram Mini Apps via Safe Stars.

21 lines (19 loc) 1.25 kB
"use strict";const o=require("./index-CtZaCMo8.cjs"),c=require("./if-defined-MmHKu2JE.cjs"),d=o.i` :host { position: relative; display: flex; width: 100%; height: 1px; background-color: var(--wui-color-gray-glass-005); justify-content: center; align-items: center; } :host > wui-text { position: absolute; padding: 0px 10px; background-color: var(--wui-color-modal-bg); transition: background-color var(--wui-duration-lg) var(--wui-ease-out-power-1); will-change: background-color; } `;var p=function(i,t,r,n){var l=arguments.length,e=l<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(i,t,r,n);else for(var s=i.length-1;s>=0;s--)(u=i[s])&&(e=(l<3?u(e):l>3?u(t,r,e):u(t,r))||e);return l>3&&e&&Object.defineProperty(t,r,e),e};let a=class extends o.i$1{constructor(){super(...arguments),this.text=""}render(){return o.x`${this.template()}`}template(){return this.text?o.x`<wui-text variant="small-500" color="fg-200">${this.text}</wui-text>`:null}};a.styles=[o.resetStyles,d];p([c.n()],a.prototype,"text",void 0);a=p([c.customElement("wui-separator")],a); //# sourceMappingURL=index-4AKqpZUN.cjs.map