|
1 | | ----js |
2 | | -{ |
3 | | -templateEngineOverride: 'njk', |
4 | | -permalink: '{{ demo.permalink }}', |
5 | | -pagination: { |
6 | | - data: 'demos', |
7 | | - alias: 'demo', |
8 | | - size: 1, |
9 | | - before: xs => xs.filter(x => x.permalink), |
10 | | -}, |
11 | | -preloads: [ |
12 | | - '@lit/ [email protected]/development/css-tag.js', |
13 | | - '@lit/ [email protected]/development/decorators/base.js', |
14 | | - '@lit/ [email protected]/development/decorators/custom-element.js', |
15 | | - '@lit/ [email protected]/development/decorators/event-options.js', |
16 | | - '@lit/ [email protected]/development/decorators/property.js', |
17 | | - '@lit/ [email protected]/development/decorators/query-all.js', |
18 | | - '@lit/ [email protected]/development/decorators/query-assigned-nodes.js', |
19 | | - '@lit/ [email protected]/development/decorators/query-async.js', |
20 | | - '@lit/ [email protected]/development/decorators/query.js', |
21 | | - '@lit/ [email protected]/development/decorators/state.js', |
22 | | - '@lit/ [email protected]/development/reactive-element.js', |
23 | | - ' [email protected]/development/experimental-hydrate-support.js', |
24 | | - ' [email protected]/development/lit-element.js', |
25 | | - ' [email protected]/_/a39ea7cf.js', |
26 | | - ' [email protected]/development/async-directive.js', |
27 | | - ' [email protected]/development/directive-helpers.js', |
28 | | - ' [email protected]/development/directive.js', |
29 | | - ' [email protected]/development/directives/guard.js', |
30 | | - ' [email protected]/development/directives/if-defined.js', |
31 | | - ' [email protected]/development/directives/live.js', |
32 | | - ' [email protected]/development/directives/ref.js', |
33 | | - ' [email protected]/development/directives/repeat.js', |
34 | | - ' [email protected]/development/directives/style-map.js', |
35 | | - ' [email protected]/development/directives/template-content.js', |
36 | | - ' [email protected]/development/directives/unsafe-html.js', |
37 | | - ' [email protected]/development/directives/unsafe-svg.js', |
38 | | - ' [email protected]/development/directives/until.js', |
39 | | - ' [email protected]/development/experimental-hydrate.js', |
40 | | - ' [email protected]/development/lit-html.js', |
41 | | - ' [email protected]/development/static.js', |
42 | | - ' [email protected]/async-directive.js', |
43 | | - ' [email protected]/decorators.js', |
44 | | - ' [email protected]/decorators/query-all.js', |
45 | | - ' [email protected]/decorators/query-assigned-nodes.js', |
46 | | - ' [email protected]/decorators/query-async.js', |
47 | | - ' [email protected]/decorators/query.js', |
48 | | - ' [email protected]/directives/guard.js', |
49 | | - ' [email protected]/directives/if-defined.js', |
50 | | - ' [email protected]/directives/live.js', |
51 | | - ' [email protected]/directives/ref.js', |
52 | | - ' [email protected]/directives/repeat.js', |
53 | | - ' [email protected]/directives/style-map.js', |
54 | | - ' [email protected]/directives/template-content.js', |
55 | | - ' [email protected]/directives/unsafe-html.js', |
56 | | - ' [email protected]/directives/unsafe-svg.js', |
57 | | - ' [email protected]/directives/until.js', |
58 | | - ' [email protected]/experimental-hydrate-support.js', |
59 | | - ' [email protected]/experimental-hydrate.js', |
60 | | - |
61 | | - |
62 | | - ' [email protected]/polyfill-support.js', |
63 | | - ' [email protected]/static-html.js', |
64 | | -] |
65 | | -} |
66 | | ---- |
67 | 1 | <!DOCTYPE html> |
68 | | -<html lang="en" dir="ltr" style="height: 100%"> |
69 | | - <head> |
70 | | - <meta charset="utf-8"> |
71 | | - <meta name="viewport" content="width=device-width, initial-scale=1"> |
72 | | - <meta name="description" content="PatternFly Elements: A set of community-created web components based on PatternFly design."> |
73 | | - <link href="{{ '/brand/logo/svg/pfe-icon-blue.svg' | url }}" rel="shortcut icon"> |
74 | | - <title>{{ demo.title or (demo.tagName) }} | PatternFly Elements</title> |
75 | | - <link rel="preconnect" href="https://ga.jspm.io"> |
76 | | - <link rel="preconnect" href="https://fonts.gstatic.com"> |
77 | | - <script type="importmap">{{ importMap | dump | safe }}</script> |
78 | | - {%- for path in preloads -%} |
79 | | - <link rel="modulepreload" href="https://ga.jspm.io/npm:{{ path }}"> |
80 | | - {%- endfor -%} |
81 | | - <link rel="stylesheet" href="{{ '/main.css' | url }}"> |
82 | | - <noscript><link href="{{ '/core/styles/pf--noscript.min.css' | url }}" rel="stylesheet"></noscript> |
83 | | - <script async src=" https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js" ></script> |
84 | | - <script type="module">import 'element-internals-polyfill';</script> |
85 | | - </head> |
86 | | - <body style="height: 100%"> |
87 | | - <main style="height: 100%"> |
88 | | - <div data-demo="{{demo.tagName}}">{% if demo.filePath %} |
89 | | - {%- include demo.filePath -%}{% endif %} |
90 | | - </div> |
91 | | - </main> |
92 | | - </body> |
| 2 | +<html lang="en" |
| 3 | + dir="ltr"> |
| 4 | + |
| 5 | +<head> |
| 6 | + <meta charset="utf-8"> |
| 7 | + <meta name="viewport" |
| 8 | + content="width=device-width, initial-scale=1"> |
| 9 | + <meta name="description" |
| 10 | + content="PatternFly Elements: A set of community-created web components based on PatternFly design."> |
| 11 | + <link href="/brand/logo/svg/pfe-icon-blue.svg" |
| 12 | + rel="shortcut icon"> |
| 13 | + <title>{{ demo.title or (demo.tagName) }} | PatternFly Elements</title> |
| 14 | + <link rel="preconnect" |
| 15 | + href="https://ga.jspm.io"> |
| 16 | + <link rel="preconnect" |
| 17 | + href="https://fonts.gstatic.com"> |
| 18 | + <script type="importmap">{{ importMap | dump | safe }}</script> |
| 19 | + <link rel="stylesheet" |
| 20 | + href="/main.css"> |
| 21 | + <noscript> |
| 22 | + <link href="/core/styles/pf--noscript.min.css" |
| 23 | + rel="stylesheet"> |
| 24 | + </noscript> |
| 25 | + <script async |
| 26 | + src=" https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js" ></script> |
| 27 | + <script type="module">import 'element-internals-polyfill';</script> |
| 28 | + <style> |
| 29 | + html, |
| 30 | + body, |
| 31 | + main { |
| 32 | + min-height: 100%; |
| 33 | + } |
| 34 | + </style> |
| 35 | + <noscript> |
| 36 | + <style> |
| 37 | + :not(:defined) { |
| 38 | + opacity: 1; |
| 39 | + } |
| 40 | + </style> |
| 41 | + </noscript> |
| 42 | +</head> |
| 43 | + |
| 44 | +<body> |
| 45 | + <main> |
| 46 | + <div data-demo="{{demo.tagName}}">{% if demo.filePath %} |
| 47 | + {%- include demo.filePath -%}{% endif %} |
| 48 | + </div> |
| 49 | + </main> |
| 50 | +</body> |
| 51 | + |
93 | 52 | </html> |
0 commit comments