hyperapp-is 0.1.31 → 0.1.32
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// hyperapp-is / core / navigator.ts
|
|
2
2
|
import { getValue, setValue, getLocalState, setLocalState, createLocalKey, } from "./state";
|
|
3
|
+
import { HistoryInput } from "./component";
|
|
3
4
|
import { getScrollMargin } from "../dom/utils";
|
|
4
5
|
import { el, deleteKeys, SelectButton } from "./component";
|
|
5
6
|
// ---------- ---------- ---------- ---------- ----------
|
|
@@ -255,10 +256,11 @@ export const NavigatorFinder = function (props) {
|
|
|
255
256
|
// toolBarNode
|
|
256
257
|
const toolBarNode = div({
|
|
257
258
|
class: "toolBar"
|
|
258
|
-
},
|
|
259
|
-
|
|
259
|
+
}, HistoryInput({
|
|
260
|
+
state,
|
|
261
|
+
id: `${id}_searchText`,
|
|
262
|
+
keyNames: [createLocalKey(id), "searchText"],
|
|
260
263
|
placeholder: "search keys",
|
|
261
|
-
value: localState.searchText,
|
|
262
264
|
oninput: action_inputSearchText
|
|
263
265
|
}), button({
|
|
264
266
|
type: "button",
|