From d53804b7f65b39e8711156b0a517a7920e0de28f Mon Sep 17 00:00:00 2001 From: dikshya Date: Tue, 21 Apr 2026 14:50:13 +0545 Subject: [PATCH] Remove tracked build artifacts, update .gitignore --- .gitignore | 47 +++++-- dist/RoomView.js | 4 - dist/exploRUG.js | 1 - docs/.nojekyll | 0 docs/api/index.html | 149 ---------------------- docs/docs.css | 163 ------------------------- docs/examples/index.html | 75 ------------ docs/examples/name-property/index.html | 65 ---------- docs/index.html | 75 ------------ docs/install/index.html | 53 -------- docs/prism-okaidia.css | 123 ------------------- 11 files changed, 40 insertions(+), 715 deletions(-) delete mode 100644 dist/RoomView.js delete mode 100644 dist/exploRUG.js delete mode 100644 docs/.nojekyll delete mode 100644 docs/api/index.html delete mode 100644 docs/docs.css delete mode 100644 docs/examples/index.html delete mode 100644 docs/examples/name-property/index.html delete mode 100644 docs/index.html delete mode 100644 docs/install/index.html delete mode 100644 docs/prism-okaidia.css diff --git a/.gitignore b/.gitignore index 7f7160e..4d1be89 100644 --- a/.gitignore +++ b/.gitignore @@ -2,10 +2,43 @@ /lib/ /test/ custom-elements.json -# top level source -my-element.js -my-element.js.map -my-element.d.ts -my-element.d.ts.map -# only generated for size check -my-element.bundled.js \ No newline at end of file +# Build outputs (generated — should not be tracked) +/dist/ +/docs/ + +# TypeScript incremental build cache +*.tsbuildinfo + +# Vite cache +.vite/ + +# Logs +*.log +npm-debug.log* +yarn-error.log* + +# macOS metadata +.DS_Store +.DS_Store? +._* + +# Environment variables (never commit secrets) +.env +.env.local +.env.*.local + +# Editor/IDE directories +.vscode/ +.idea/ +*.suo +*.ntvs* +*.njsproj +*.sln + +# Test coverage +coverage/ + +# Yarn +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml diff --git a/dist/RoomView.js b/dist/RoomView.js deleted file mode 100644 index 258bdf1..0000000 --- a/dist/RoomView.js +++ /dev/null @@ -1,4 +0,0 @@ -var t;const e=globalThis,r=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),s=new WeakMap;let i=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(r&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=s.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&s.set(e,t))}return t}toString(){return this.cssText}};const o=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:a,defineProperty:l,getOwnPropertyDescriptor:u,getOwnPropertyNames:c,getOwnPropertySymbols:h,getPrototypeOf:p}=Object,d=globalThis,f=d.trustedTypes,_=f?f.emptyScript:"",$=d.reactiveElementPolyfillSupport,y=(t,e)=>t,v={toAttribute(t,e){switch(e){case Boolean:t=t?_:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(n){r=null}}return r}},m=(t,e)=>!a(t,e),A={attribute:!0,type:String,converter:v,reflect:!1,useDefault:!1,hasChanged:m};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),d.litPropertyMetadata??(d.litPropertyMetadata=new WeakMap);let g=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=A){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&l(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){const{get:n,set:s}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:n,set(e){const i=null==n?void 0:n.call(this);null==s||s.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??A}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=p(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...c(t),...h(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[e,r]of this.elementProperties){const t=this._$Eu(e,r);void 0!==t&&this._$Eh.set(t,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(o(t))}else void 0!==t&&e.push(o(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach(t=>t(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,n)=>{if(r)t.adoptedStyleSheets=n.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const r of n){const n=document.createElement("style"),s=e.litNonce;void 0!==s&&n.setAttribute("nonce",s),n.textContent=r.cssText,t.appendChild(n)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)})}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)})}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ET(t,e){var r;const n=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,n);if(void 0!==s&&!0===n.reflect){const i=(void 0!==(null==(r=n.converter)?void 0:r.toAttribute)?n.converter:v).toAttribute(e,n.type);this._$Em=t,null==i?this.removeAttribute(s):this.setAttribute(s,i),this._$Em=null}}_$AK(t,e){var r,n;const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(r=t.converter)?void 0:r.fromAttribute)?t.converter:v;this._$Em=i;const a=o.fromAttribute(e,t.type);this[i]=a??(null==(n=this._$Ej)?void 0:n.get(i))??a,this._$Em=null}}requestUpdate(t,e,r,n=!1,s){var i;if(void 0!==t){const o=this.constructor;if(!1===n&&(s=this[t]),r??(r=o.getPropertyOptions(t)),!((r.hasChanged??m)(s,e)||r.useDefault&&r.reflect&&s===(null==(i=this._$Ej)?void 0:i.get(t))&&!this.hasAttribute(o._$Eu(t,r))))return;this.C(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:r,reflect:n,wrapped:s},i){r&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,i??e??this[t]),!0!==s||void 0!==i)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),!0===n&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t){const{wrapped:t}=r,n=this[e];!0!==t||this._$AL.has(e)||void 0===n||this.C(e,void 0,r,n)}}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),null==(t=this._$EO)||t.forEach(t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)}),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach(t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach(t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};g.elementStyles=[],g.shadowRootOptions={mode:"open"},g[y("elementProperties")]=new Map,g[y("finalized")]=new Map,null==$||$({ReactiveElement:g}),(d.reactiveElementVersions??(d.reactiveElementVersions=[])).push("2.1.2");const E=globalThis,b=t=>t,S=E.trustedTypes,w=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",P=`lit$${Math.random().toFixed(9).slice(2)}$`,O="?"+P,R=`<${O}>`,x=document,U=()=>x.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,I=Array.isArray,M="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,N=/-->/g,H=/>/g,j=RegExp(`>|${M}(?:([^\\s"'>=/]+)(${M}*=${M}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,D=/"/g,L=/^(?:script|style|textarea|title)$/i,V=(Q=1,(t,...e)=>({_$litType$:Q,strings:t,values:e})),W=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),q=new WeakMap,F=x.createTreeWalker(x,129);var Q;function G(t,e){if(!I(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==w?w.createHTML(e):e}let X=class t{constructor({strings:e,_$litType$:r},n){let s;this.parts=[];let i=0,o=0;const a=e.length-1,l=this.parts,[u,c]=((t,e)=>{const r=t.length-1,n=[];let s,i=2===e?"":3===e?"":"",o=T;for(let a=0;a"===l[0]?(o=s??T,u=-1):void 0===l[1]?u=-2:(u=o.lastIndex-l[2].length,r=l[1],o=void 0===l[3]?j:'"'===l[3]?D:z):o===D||o===z?o=j:o===N||o===H?o=T:(o=j,s=void 0);const h=o===j&&t[a+1].startsWith("/>")?" ":"";i+=o===T?e+R:u>=0?(n.push(r),e.slice(0,u)+C+e.slice(u)+P+h):e+P+(-2===u?a:h)}return[G(t,i+(t[r]||"")+(2===e?"":3===e?"":"")),n]})(e,r);if(this.el=t.createElement(u,n),F.currentNode=this.el.content,2===r||3===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=F.nextNode())&&l.length0){s.textContent=S?S.emptyScript:"";for(let r=0;rI(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==B&&k(this._$AH)?this._$AA.nextSibling.data=t:this.T(x.createTextNode(t)),this._$AH=t}$(t){var e;const{values:r,_$litType$:n}=t,s="number"==typeof n?this._$AC(t):(void 0===n.el&&(n.el=X.createElement(G(n.h,n.h[0]),this.options)),n);if((null==(e=this._$AH)?void 0:e._$AD)===s)this._$AH.p(r);else{const t=new Y(s,this),e=t.u(this.options);t.p(r),this.T(e),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.set(t.strings,e=new X(t)),e}k(t){I(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const s of t)n===e.length?e.push(r=new J(this.O(U()),this.O(U()),this,this.options)):r=e[n],r._$AI(s),n++;n2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=B}_$AI(t,e=this,r,n){const s=this.strings;let i=!1;if(void 0===s)t=K(this,t,e,0),i=!k(t)||t!==this._$AH&&t!==W,i&&(this._$AH=t);else{const n=t;let o,a;for(t=s[0],o=0;o{const n=(null==r?void 0:r.renderBefore)??e;let s=n._$litPart$;if(void 0===s){const t=(null==r?void 0:r.renderBefore)??null;n._$litPart$=s=new J(e.insertBefore(U(),t),t,void 0,r??{})}return s._$AI(t),s})(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null==(t=this._$Do)||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null==(t=this._$Do)||t.setConnected(!1)}render(){return W}}ot._$litElement$=!0,ot.finalized=!0,null==(t=it.litElementHydrateSupport)||t.call(it,{LitElement:ot});const at=it.litElementPolyfillSupport;null==at||at({LitElement:ot}),(it.litElementVersions??(it.litElementVersions=[])).push("4.2.2");var lt=pt;!function(){for(var t=pt,e=ht();;)try{if(169948===-parseInt(t(465))/1+-parseInt(t(451))/2*(parseInt(t(455))/3)+parseInt(t(462))/4+parseInt(t(450))/5*(-parseInt(t(460))/6)+-parseInt(t(453))/7+-parseInt(t(452))/8+parseInt(t(457))/9*(parseInt(t(458))/10))break;e.push(e.shift())}catch(r){e.push(e.shift())}}();var ut=Object[lt(454)],ct=Object.getOwnPropertyDescriptor;function ht(){var t=["zQnnh","wOrXz","12343rQeisc","125THqeDz","2eNPWzE","304600ltykrU","975240StPoDZ","defineProperty","259491KxQUmM","MGXoO","153tHfAzr","206990RORkWu","sddAk","50910cnWzIA","GQTOz","1225700DidFya"];return(ht=function(){return t})()}function pt(t,e){return t-=450,ht()[t]}let dt=class extends ot{render(){return V`

RoomView

`}};function ft(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}dt.styles=((t,...e)=>{const r=1===t.length?t[0]:e.reduce((e,r,n)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[n+1],t[0]);return new i(r,t,n)})` - :host { - } - `,dt=((t,e,r,n)=>{for(var s,i=lt,o={wOrXz:function(t,e){return t>e},sddAk:function(t,e,r){return t(e,r)},GQTOz:function(t,e){return t-e},WIudc:function(t,e){return t>=e},MGXoO:function(t,e,r,n){return t(e,r,n)},zQnnh:function(t,e){return t&&e}},a=o[i(464)](n,1)?void 0:n?o[i(459)](ct,e,r):e,l=o[i(461)](t.length,1);o.WIudc(l,0);l--)(s=t[l])&&(a=s(a)||a);return o[i(463)](n,a)&&o[i(456)](ut,e,r,a),a})([(t=>(e,r)=>{void 0!==r?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)})("room-view")],dt);var _t={exports:{}},$t={},yt=Symbol.for("react.element"),vt=Symbol.for("react.portal"),mt=Symbol.for("react.fragment"),At=Symbol.for("react.strict_mode"),gt=Symbol.for("react.profiler"),Et=Symbol.for("react.provider"),bt=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),wt=Symbol.for("react.suspense"),Ct=Symbol.for("react.memo"),Pt=Symbol.for("react.lazy"),Ot=Symbol.iterator;var Rt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xt=Object.assign,Ut={};function kt(t,e,r){this.props=t,this.context=e,this.refs=Ut,this.updater=r||Rt}function It(){}function Mt(t,e,r){this.props=t,this.context=e,this.refs=Ut,this.updater=r||Rt}kt.prototype.isReactComponent={},kt.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},kt.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},It.prototype=kt.prototype;var Tt=Mt.prototype=new It;Tt.constructor=Mt,xt(Tt,kt.prototype),Tt.isPureReactComponent=!0;var Nt=Array.isArray,Ht=Object.prototype.hasOwnProperty,jt={current:null},zt={key:!0,ref:!0,__self:!0,__source:!0};function Dt(t,e,r){var n,s={},i=null,o=null;if(null!=e)for(n in void 0!==e.ref&&(o=e.ref),void 0!==e.key&&(i=""+e.key),e)Ht.call(e,n)&&!zt.hasOwnProperty(n)&&(s[n]=e[n]);var a=arguments.length-2;if(1===a)s.children=r;else if(1{const i=null==s?void 0:s[e];void 0===i?(t[e]=r,null==r&&e in HTMLElement.prototype&&t.removeAttribute(e)):r!==n&&((t,e,r)=>{let n=Zt.get(t);void 0===n&&Zt.set(t,n=new Map);let s=n.get(e);void 0!==r?void 0===s?(n.set(e,s={handleEvent:r}),t.addEventListener(e,s)):s.handleEvent=r:void 0!==s&&(n.delete(e),t.removeEventListener(e,s))})(t,i,r)},ee=re;function re(t,e){t-=222;return ne()[t]}function ne(){const t=["512729zoMLnC","7343944mfIfNB","36doJhnL","104047CgEtoY","2708690TDSXfY","22QwqxOP","10RDgTfU","16364034bGfFzg","4DRilsi","room-view","3935756ioaKeh","1437738VwWRnu","12WbAYSU"];return(ne=function(){return t})()}!function(){const t=re,e=ne();for(;;)try{if(942080===parseInt(t(229))/1*(parseInt(t(231))/2)+-parseInt(t(224))/3+-parseInt(t(234))/4*(parseInt(t(230))/5)+parseInt(t(228))/6*(-parseInt(t(226))/7)+-parseInt(t(227))/8+-parseInt(t(233))/9*(-parseInt(t(232))/10)+-parseInt(t(223))/11*(-parseInt(t(225))/12))break;e.push(e.shift())}catch(r){e.push(e.shift())}}(),(({react:t,tagName:e,elementClass:r,events:n,displayName:s})=>{const i=new Set(Object.keys(n??{})),o=t.forwardRef((s,o)=>{const a=t.useRef(new Map),l=t.useRef(null),u={},c={};for(const[t,e]of Object.entries(s))Jt.has(t)?u["className"===t?"class":t]=e:i.has(t)||t in r.prototype?c[t]=e:u[t]=e;return t.useLayoutEffect(()=>{if(null===l.current)return;const t=new Map;for(const e in c)te(l.current,e,s[e],a.current.get(e),n),a.current.delete(e),t.set(e,s[e]);for(const[e,r]of a.current)te(l.current,e,void 0,r,n);a.current=t}),t.useLayoutEffect(()=>{var t;null==(t=l.current)||t.removeAttribute("defer-hydration")},[]),u.suppressHydrationWarning=!0,t.createElement(e,{...u,ref:t.useCallback(t=>{l.current=t,"function"==typeof o?o(t):null!==o&&(o.current=t)},[o])})});o.displayName=s??r.name})({tagName:ee(222),elementClass:dt,react:Yt}); diff --git a/dist/exploRUG.js b/dist/exploRUG.js deleted file mode 100644 index 9878926..0000000 --- a/dist/exploRUG.js +++ /dev/null @@ -1 +0,0 @@ -import"./RoomView.js";function r(r,n){return r-=155,t()[r]}function t(){var r=["2870ZHvrap","1259754CDQmAM","16874689bFeruv","1763222VHwEvO","1543071ZyiAtR","43176MNADsO","4yWCcJm","1610995LezBuI","14300pUwiuo","42BYsgGi","1044hSSGWA","36eFtynG","3uUxJSy"];return(t=function(){return r})()}!function(){for(var n=r,e=t();;)try{if(784874===-parseInt(n(156))/1+-parseInt(n(155))/2*(parseInt(n(164))/3)+-parseInt(n(158))/4*(-parseInt(n(159))/5)+-parseInt(n(166))/6*(parseInt(n(161))/7)+-parseInt(n(157))/8*(-parseInt(n(162))/9)+parseInt(n(165))/10*(-parseInt(n(160))/11)+-parseInt(n(163))/12*(-parseInt(n(167))/13))break;e.push(e.shift())}catch(s){e.push(e.shift())}}(); diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/docs/api/index.html b/docs/api/index.html deleted file mode 100644 index ecaf431..0000000 --- a/docs/api/index.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - <my-element> ⌲ Docs - - - - - - - - - -
-

<my-element>

-

A web component just for me.

-
- - -
-
- -

API

- -

<my-element>

-
- An example element. -
- -

Attributes

- - - - - - - - - - - - - -
NameDescriptionTypeDefault
nameThe name to say "Hello" to.string'World'
countThe number of times the button has been clicked.number0
- - -

Properties

- - - - - - - - - - - - - -
NameAttributeDescriptionTypeDefault
namenameThe name to say "Hello" to.string'World'
countcountThe number of times the button has been clicked.number0
- - -

Methods

- - - - - - - - - -
NameParametersDescriptionReturn
sayHello - - - - - - - - - - -
NameDescriptionType
nameThe name to say "Hello" tostring
-
Formats a greetingstring
- - -

Events

- - - - - - - - - -
NameDescription
count-changedIndicates when the count changes
- - -

Slots

- - - - - - - - - -
NameDescription
(default)This element has a slot
- - -

CSS Shadow Parts

- - - - - - - - - -
NameDescription
buttonThe button
- - - - -
-
- - - - \ No newline at end of file diff --git a/docs/docs.css b/docs/docs.css deleted file mode 100644 index 800e27e..0000000 --- a/docs/docs.css +++ /dev/null @@ -1,163 +0,0 @@ -* { - box-sizing: border-box; -} - -body { - margin: 0; - color: #333; - font-family: 'Open Sans', arial, sans-serif; - min-width: min-content; - min-height: 100vh; - font-size: 18px; - display: flex; - flex-direction: column; - align-items: stretch; -} - -#main-wrapper { - flex-grow: 1; -} - -main { - max-width: 1024px; - margin: 0 auto; -} - -a:visited { - color: inherit; -} - -header { - width: 100%; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - height: 360px; - margin: 0; - background: linear-gradient(0deg, rgba(9,9,121,1) 0%, rgba(0,212,255,1) 100%); - color: white; -} - -footer { - width: 100%; - min-height: 120px; - background: gray; - color: white; - display: flex; - flex-direction: column; - justify-content: center; - padding: 12px; - margin-top: 64px; -} - -h1 { - font-size: 2.5em; - font-weight: 400; -} - -h2 { - font-size: 1.6em; - font-weight: 300; - margin: 64px 0 12px; -} - -h3 { - font-weight: 300; -} - -header h1 { - width: auto; - font-size: 2.8em; - margin: 0; -} - -header h2 { - width: auto; - margin: 0; -} - -nav { - display: grid; - width: 100%; - max-width: 100%; - grid-template-columns: repeat(auto-fit, 240px); - justify-content: center; - border-bottom: 1px solid #efefef; -} - -nav > a { - color: #444; - display: block; - flex: 1; - font-size: 18px; - padding: 20px 0; - text-align: center; - text-decoration: none; -} - -nav > a:hover { - text-decoration: underline; -} - -nav.collection { - border: none; -} - -nav.collection > ul { - padding: 0; - list-style: none; -} - -nav.collection > ul > li { - padding: 4px 0; -} - -nav.collection > ul > li.selected { - font-weight: 600; -} - -nav.collection a { - text-decoration: none; -} - -nav.collection a:hover { - text-decoration: underline; -} - -section.columns { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(400px, 488px)); - grid-gap: 48px; - justify-content: center; -} - -section.columns > div { - flex: 1; -} - -section.examples { - display: grid; - grid-template-columns: 240px minmax(400px, 784px); - grid-gap: 48px; - justify-content: center; -} - -section.examples h2:first-of-type { - margin-top: 0; -} - -table { - width: 100%; - border-collapse: collapse; -} -th { - font-weight: 600; -} - -td, th { - border: solid 1px #aaa; - padding: 4px; - text-align: left; - vertical-align: top; -} diff --git a/docs/examples/index.html b/docs/examples/index.html deleted file mode 100644 index a010634..0000000 --- a/docs/examples/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - <my-element> ⌲ Examples ⌲ Basic - - - - - - - - - -
-

<my-element>

-

A web component just for me.

-
- - -
-
- -

Example: Basic

-
- -
- - -

This is child content

-
-

CSS

-
p {
border: solid 1px blue;
padding: 8px;
}
-

HTML

-
<my-element>
<p>This is child content</p>
</my-element>
- -
-
- -
-
- - - - \ No newline at end of file diff --git a/docs/examples/name-property/index.html b/docs/examples/name-property/index.html deleted file mode 100644 index 4286e0e..0000000 --- a/docs/examples/name-property/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - <my-element> ⌲ Examples ⌲ Name Property - - - - - - - - - -
-

<my-element>

-

A web component just for me.

-
- - -
-
- -

Example: Name Property

-
- -
-

-

HTML

-
<my-element name="Earth"></my-element>
- -
-
- -
-
- - - - \ No newline at end of file diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index ad84ff8..0000000 --- a/docs/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - <my-element> ⌲ Home - - - - - - - - - -
-

<my-element>

-

A web component just for me.

-
- - -
-
-

<my-element>

-

<my-element> is an awesome element. It's a great introduction to building web components with LitElement, with nice documentation site as well.

-

As easy as HTML

-
-
-

<my-element> is just an HTML element. You can it anywhere you can use HTML!

-
<my-element></my-element>
-
-
-

-
-
-

Configure with attributes

-
-
-

<my-element> can be configured with attributed in plain HTML.

-
<my-element name="HTML"></my-element>
-
-
-

-
-
-

Declarative rendering

-
-
-

<my-element> can be used with declarative rendering libraries like Angular, React, Vue, and lit-html

-
import {html, render} from 'lit-html';

const name = 'lit-html';

render(
html`
<h2>This is a &lt;my-element&gt;</h2>
<my-element .name=
${name}></my-element>
`
,
document.body
);
-
-
-

This is a <my-element>

- -
-
- -
-
- - - - \ No newline at end of file diff --git a/docs/install/index.html b/docs/install/index.html deleted file mode 100644 index 05ad115..0000000 --- a/docs/install/index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - <my-element> ⌲ Install - - - - - - - - - -
-

<my-element>

-

A web component just for me.

-
- - -
-
-

Install

-

<my-element> is distributed on npm, so you can install it locally or use it via npm CDNs like unpkg.com.

-

Local Installation

-
npm i my-element
-

CDN

-

npm CDNs like unpkg.com can directly serve files that have been published to npm. This works great for standard JavaScript modules that the browser can load natively.

-

For this element to work from unpkg.com specifically, you need to include the ?module query parameter, which tells unpkg.com to rewrite "bare" module specifiers to full URLs.

-

HTML

-
<script type="module" src="https://unpkg.com/my-element?module"></script>
-

JavaScript

-
import {MyElement} from 'https://unpkg.com/my-element?module';
- -
-
- - - - \ No newline at end of file diff --git a/docs/prism-okaidia.css b/docs/prism-okaidia.css deleted file mode 100644 index cf04068..0000000 --- a/docs/prism-okaidia.css +++ /dev/null @@ -1,123 +0,0 @@ -/** - * okaidia theme for JavaScript, CSS and HTML - * Loosely based on Monokai textmate theme by http://www.monokai.nl/ - * @author ocodia - */ - -code[class*="language-"], -pre[class*="language-"] { - color: #f8f8f2; - background: none; - text-shadow: 0 1px rgba(0, 0, 0, 0.3); - font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; - font-size: 1em; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - line-height: 1.5; - - -moz-tab-size: 4; - -o-tab-size: 4; - tab-size: 4; - - -webkit-hyphens: none; - -moz-hyphens: none; - -ms-hyphens: none; - hyphens: none; -} - -/* Code blocks */ -pre[class*="language-"] { - padding: 1em; - margin: .5em 0; - overflow: auto; - border-radius: 0.3em; -} - -:not(pre) > code[class*="language-"], -pre[class*="language-"] { - background: #272822; -} - -/* Inline code */ -:not(pre) > code[class*="language-"] { - padding: .1em; - border-radius: .3em; - white-space: normal; -} - -.token.comment, -.token.prolog, -.token.doctype, -.token.cdata { - color: #8292a2; -} - -.token.punctuation { - color: #f8f8f2; -} - -.token.namespace { - opacity: .7; -} - -.token.property, -.token.tag, -.token.constant, -.token.symbol, -.token.deleted { - color: #f92672; -} - -.token.boolean, -.token.number { - color: #ae81ff; -} - -.token.selector, -.token.attr-name, -.token.string, -.token.char, -.token.builtin, -.token.inserted { - color: #a6e22e; -} - -.token.operator, -.token.entity, -.token.url, -.language-css .token.string, -.style .token.string, -.token.variable { - color: #f8f8f2; -} - -.token.atrule, -.token.attr-value, -.token.function, -.token.class-name { - color: #e6db74; -} - -.token.keyword { - color: #66d9ef; -} - -.token.regex, -.token.important { - color: #fd971f; -} - -.token.important, -.token.bold { - font-weight: bold; -} -.token.italic { - font-style: italic; -} - -.token.entity { - cursor: help; -}