| 
									
										
										
										
											2022-05-26 18:07:02 +02:00
										 |  |  | import { | 
					
						
							|  |  |  |   cssManager, | 
					
						
							|  |  |  |   customElement, | 
					
						
							|  |  |  |   DeesElement, | 
					
						
							|  |  |  |   html, | 
					
						
							| 
									
										
										
										
											2023-08-07 20:02:18 +02:00
										 |  |  |   type TemplateResult, | 
					
						
							| 
									
										
										
										
											2022-05-26 18:07:02 +02:00
										 |  |  |   css, | 
					
						
							| 
									
										
										
										
											2023-08-07 20:02:18 +02:00
										 |  |  |   type CSSResult, | 
					
						
							| 
									
										
										
										
											2022-05-26 18:07:02 +02:00
										 |  |  |   state, | 
					
						
							|  |  |  |   property | 
					
						
							| 
									
										
										
										
											2023-08-07 19:13:29 +02:00
										 |  |  | } from '@design.estate/dees-element'; | 
					
						
							| 
									
										
										
										
											2022-05-26 18:07:02 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | @customElement('dees-button-exit') | 
					
						
							|  |  |  | export class DeesButtonExit extends DeesElement { | 
					
						
							|  |  |  |   // DEMO
 | 
					
						
							|  |  |  |   public static demo = () => html`
 | 
					
						
							|  |  |  |     <dees-button-exit></dees-button-exit> | 
					
						
							|  |  |  |   `;
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // INSTANCE
 | 
					
						
							|  |  |  |   @property({ | 
					
						
							|  |  |  |     type: Number | 
					
						
							|  |  |  |   }) | 
					
						
							| 
									
										
										
										
											2023-01-09 23:13:44 +01:00
										 |  |  |   public size: number = 24; | 
					
						
							| 
									
										
										
										
											2022-05-26 18:07:02 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   public styles = [ | 
					
						
							|  |  |  |     cssManager.defaultStyles, | 
					
						
							|  |  |  |     css`
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     `
 | 
					
						
							|  |  |  |   ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   public render (): TemplateResult { | 
					
						
							|  |  |  |     return html`
 | 
					
						
							|  |  |  |       <style> | 
					
						
							|  |  |  |         .maincontainer { | 
					
						
							|  |  |  |           position: relative; | 
					
						
							|  |  |  |           width: ${this.size}px; | 
					
						
							|  |  |  |           height: ${this.size}px; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       </style> | 
					
						
							|  |  |  |       <div class="maincontainer"> | 
					
						
							|  |  |  |         <div class="firstLine"></div> | 
					
						
							|  |  |  |         <div class="secondLine"></div> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     `;
 | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |