@troyio/vite-file-router 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +664 -536
- package/devtools/app.js +619 -34
- package/devtools/index.html +6 -0
- package/devtools/style.css +456 -102
- package/dist/devtools-app.d.ts +40 -2
- package/dist/devtools.d.ts +25 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +523 -40
- package/dist/scanner.d.ts +2 -1
- package/package.json +1 -1
- package/types/index.d.ts +3 -0
package/devtools/index.html
CHANGED
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
<symbol id="icon-open" viewBox="0 0 16 16">
|
|
22
22
|
<path d="M9 3h4v4M13 3L7.5 8.5M11 9.5V13H3V5h3.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
23
23
|
</symbol>
|
|
24
|
+
<symbol id="icon-go" viewBox="0 0 16 16">
|
|
25
|
+
<path d="M3 8h9M8.5 4.5L12 8l-3.5 3.5" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
|
|
26
|
+
</symbol>
|
|
24
27
|
<symbol id="icon-route" viewBox="0 0 16 16">
|
|
25
28
|
<circle cx="4" cy="4" r="1.8" fill="none" stroke="currentColor" stroke-width="1.4" />
|
|
26
29
|
<circle cx="12" cy="12" r="1.8" fill="none" stroke="currentColor" stroke-width="1.4" />
|
|
@@ -56,6 +59,7 @@
|
|
|
56
59
|
|
|
57
60
|
<p class="alert" id="error" role="alert" hidden></p>
|
|
58
61
|
<section class="conflicts" id="conflicts" aria-label="Route conflicts" hidden></section>
|
|
62
|
+
<section class="warnings" id="warnings" aria-label="Route warnings" hidden></section>
|
|
59
63
|
|
|
60
64
|
<main class="layout">
|
|
61
65
|
<section class="panel tree-panel" aria-label="Route tree">
|
|
@@ -129,8 +133,10 @@
|
|
|
129
133
|
<button type="button" data-type="all" aria-pressed="true">All</button>
|
|
130
134
|
<button type="button" data-type="loader" aria-pressed="false">Loaders</button>
|
|
131
135
|
<button type="button" data-type="action" aria-pressed="false">Actions</button>
|
|
136
|
+
<button type="button" data-type="middleware" aria-pressed="false">Middleware</button>
|
|
132
137
|
<button type="button" data-type="revalidate" aria-pressed="false">Revalidation</button>
|
|
133
138
|
</div>
|
|
139
|
+
<span class="route-pill" id="timeline-route" hidden></span>
|
|
134
140
|
<label class="field">
|
|
135
141
|
<svg class="field-icon" aria-hidden="true"><use href="#icon-search" /></svg>
|
|
136
142
|
<span class="visually-hidden">Filter calls</span>
|