ovr 1.2.1 → 1.2.2
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/dist/jsx/elements.d.ts +1 -1
- package/dist/trie/index.js +2 -8
- package/package.json +1 -1
package/dist/jsx/elements.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ type Attributes<P extends Props = Props, Children = JSX.Element> = Partial<{
|
|
|
26
26
|
lang: string;
|
|
27
27
|
nonce: string;
|
|
28
28
|
part: string;
|
|
29
|
-
popover:
|
|
29
|
+
popover: boolean | "auto" | "hint" | "manual";
|
|
30
30
|
role: "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem";
|
|
31
31
|
slot: string;
|
|
32
32
|
spellcheck: "true" | "false";
|
package/dist/trie/index.js
CHANGED
|
@@ -204,15 +204,9 @@ export class Trie {
|
|
|
204
204
|
if (pathname === this.segment) {
|
|
205
205
|
// reached the end of the path
|
|
206
206
|
if (this.route)
|
|
207
|
-
return {
|
|
208
|
-
route: this.route,
|
|
209
|
-
params: {},
|
|
210
|
-
};
|
|
207
|
+
return { route: this.route, params: {} };
|
|
211
208
|
if (this.wildcardRoute)
|
|
212
|
-
return {
|
|
213
|
-
route: this.wildcardRoute,
|
|
214
|
-
params: { "*": "" },
|
|
215
|
-
};
|
|
209
|
+
return { route: this.wildcardRoute, params: { "*": "" } };
|
|
216
210
|
return null;
|
|
217
211
|
}
|
|
218
212
|
if (this.staticMap) {
|