OLD | NEW |
1 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> | 1 <import src="../../framework/sky-element/sky-element.sky" as="SkyElement" /> |
2 <import src="app-header.sky" /> | 2 <import src="app-header.sky" /> |
3 <import src="app-title.sky" /> | 3 <import src="app-title.sky" /> |
4 <import src="app-menu-button.sky" /> | 4 <import src="app-menu-button.sky" /> |
5 <import src="app-panel.sky" /> | 5 <import src="app-panel.sky" /> |
6 <import src="app-panel-header.sky" /> | 6 <import src="app-panel-header.sky" /> |
7 <import src="app-panel-content.sky" /> | 7 <import src="app-panel-content.sky" /> |
8 <import src="app-toolbar.sky" /> | 8 <import src="app-toolbar.sky" /> |
9 <import src="app-search-input.sky" /> | 9 <import src="app-search-input.sky" /> |
10 <import src="app-scrollable.sky" /> | 10 <import src="app-scrollable.sky" /> |
11 <import src="app-toast.sky" /> | 11 <import src="app-toast.sky" /> |
12 | 12 |
| 13 <sky-element name="flights-app"> |
13 <template> | 14 <template> |
14 <style> | 15 <style> |
15 * { box-sizing: border-box; } | 16 * { box-sizing: border-box; } |
16 | 17 |
17 t, span { | 18 t, span { |
18 display: inline; | 19 display: inline; |
19 } | 20 } |
20 | 21 |
21 :host { | 22 :host { |
22 display: flex; | 23 display: flex; |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 <app-toast> | 194 <app-toast> |
194 <div class="toast-icon"> | 195 <div class="toast-icon"> |
195 <t>?</t> | 196 <t>?</t> |
196 </div> | 197 </div> |
197 <div class="toast-content"> | 198 <div class="toast-content"> |
198 <t>Flights are <span class="tip-price">$200</span> cheaper tomorrow.</t> | 199 <t>Flights are <span class="tip-price">$200</span> cheaper tomorrow.</t> |
199 </div> | 200 </div> |
200 </app-toast> | 201 </app-toast> |
201 </template> | 202 </template> |
202 <script> | 203 <script> |
203 SkyElement({ | 204 module.exports = class extends SkyElement { |
204 name: "flights-app", | 205 }.register(); |
205 }); | |
206 </script> | 206 </script> |
| 207 </sky-element> |
OLD | NEW |